Just clean up.
Signed-off-by: Michal Simek <monstr@monstr.eu>
PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/xilinx/common
PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/$(BOARDDIR)
+# Xilinx, added to prevent unaligned accesses which started happening
+# with GCC 4.5.2 tools
+
+PLATFORM_CPPFLAGS += -mno-unaligned-access
+
# =========================================================================
#
# Supply options according to compiler version
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
endif
-# Xilinx, added to prevent unaligned accesses which started happening
-# with GCC 4.5.2 tools
-
-CFLAGS += -mno-unaligned-access
-
CFLAGS_SSP := $(call cc-option,-fno-stack-protector)
CFLAGS += $(CFLAGS_SSP)
# Some toolchains enable security related warning flags by default,