git.openpandora.org
/
pandora-x-loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add -marm -fno-stack-protector to CFLAGS on ARM
[pandora-x-loader.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
f4c58e9
..
80bc0ad
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-148,6
+148,9
@@
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \
else
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
endif
+ifeq ($(ARCH),arm)
+CFLAGS += -marm -fno-stack-protector
+endif
AFLAGS_DEBUG := -Wa,-gstabs
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)