diff options
-rw-r--r-- | mk/vars.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 345531b3f..42c534071 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -12,9 +12,9 @@ BUILD_GROUP= $(shell id -gn) ifneq ($(ADK_DEBUG),) TARGET_DEBUGGING:= -g3 -fno-omit-frame-pointer else -TARGET_DEBUGGING:= -fomit-frame-pointer +TARGET_DEBUGGING:= -fomit-frame-pointer $(TARGET_OPTIMIZATION) endif -TARGET_CFLAGS:= $(TARGET_OPTIMIZATION) $(TARGET_CFLAGS_ARCH) $(TARGET_DEBUGGING) +TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) $(TARGET_DEBUGGING) ifneq ($(ADK_TARGET_ARCH_OPTIMIZATION),) TARGET_CFLAGS+= -march=$(ADK_TARGET_ARCH_OPTIMIZATION) endif |