diff options
Diffstat (limited to 'lib/sam/d/Makefile')
-rw-r--r-- | lib/sam/d/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sam/d/Makefile b/lib/sam/d/Makefile index 0a2a5c89..380ade30 100644 --- a/lib/sam/d/Makefile +++ b/lib/sam/d/Makefile @@ -20,10 +20,8 @@ LIBNAME = libopencm3_samd SRCLIBDIR ?= ../.. -PREFIX ?= arm-none-eabi - -CC = $(PREFIX)-gcc -AR = $(PREFIX)-ar +CC = $(PREFIX)gcc +AR = $(PREFIX)ar TGT_CFLAGS = -Os -Wall -Wextra -I../../../include -fno-common \ -mcpu=cortex-m0plus -mthumb $(FP_FLAGS) -Wstrict-prototypes \ -ffunction-sections -fdata-sections -MD -DSAMD |