mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08:00
arm: honor CFLAGS and LDFLAGS
This commit is contained in:
parent
900184b600
commit
377ead8e62
1 changed files with 4 additions and 2 deletions
|
@ -39,8 +39,10 @@ VPATH = . ../common_arm ../common ../common/crapto1 ../common/mbedtls ../common/
|
|||
|
||||
INCLUDES = ../include/proxmark3_arm.h ../include/at91sam7s512.h ../include/config_gpio.h ../include/pm3_cmd.h
|
||||
|
||||
CFLAGS = -c $(INCLUDE) -Wall -Werror -pedantic -Wunused -std=c99 $(APP_CFLAGS) -Os
|
||||
LDFLAGS = -nostartfiles -nodefaultlibs -Wl,-gc-sections -n
|
||||
CFLAGS ?= -Wall -Werror -pedantic -Wunused -Os
|
||||
CFLAGS += -c $(INCLUDE) -std=c99 $(APP_CFLAGS)
|
||||
|
||||
LDFLAGS += -nostartfiles -nodefaultlibs -Wl,-gc-sections -n
|
||||
LIBS = -lgcc
|
||||
|
||||
# Flags to generate temporary dependency files
|
||||
|
|
Loading…
Reference in a new issue