aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George2014-06-18 14:59:39 +0100
committerDamien George2014-06-18 14:59:39 +0100
commitb0851e5949b4d241106f130bc9febb9a5ff0acb6 (patch)
tree16b884cbf4428d440848eaae01c6117edb783a5b /stmhal
parent720f55cc4bb15818b8df845e11647bbafa9709c7 (diff)
parentc3cabf4e336c104542bb248730094747b13977b1 (diff)
Merge pull request #700 from swegener/for-upstream
bare-arm, stmhal: Disable stack protector
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index e27dd7b6c..3cc98d7be 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -41,7 +41,7 @@ INC += -I$(FATFS_DIR)/src
INC += -I$(CC3K_DIR)
CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion
-CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 $(CFLAGS_CORTEX_M4) $(COPT)
+CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_CORTEX_M4) $(COPT)
CFLAGS += -Iboards/$(BOARD)
@@ -53,7 +53,7 @@ else
COPT += -Os -DNDEBUG
endif
-LDFLAGS = --nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref
+LDFLAGS = -nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref
LIBS =
# uncomment this if you want libgcc