aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-11-30 10:52:53 -0800
committerJosh Blum <josh@joshknows.com>2010-12-12 18:23:55 -0800
commit4ead29c688c43930d186c8274a9a2e0da32fbb2d (patch)
treee499aa3583a9b1e8690d3a91466d9a8ebd1c958c /firmware
parentc08da91e832637e3197758f81128682f6fccf1bd (diff)
downloaduhd-4ead29c688c43930d186c8274a9a2e0da32fbb2d.tar.gz
uhd-4ead29c688c43930d186c8274a9a2e0da32fbb2d.tar.bz2
uhd-4ead29c688c43930d186c8274a9a2e0da32fbb2d.zip
ZPU: -ffunction-sections
Diffstat (limited to 'firmware')
-rw-r--r--firmware/microblaze/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/CMakeLists.txt b/firmware/microblaze/CMakeLists.txt
index dd56f3579..0b7f396c7 100644
--- a/firmware/microblaze/CMakeLists.txt
+++ b/firmware/microblaze/CMakeLists.txt
@@ -41,7 +41,7 @@ INCLUDE_DIRECTORIES(
########################################################################
SET(CMAKE_C_FLAGS -abel) #always needed compile time and link time
#ADD_DEFINITIONS(-mxl-soft-div -msoft-float -mxl-soft-mul -mxl-barrel-shift)
-ADD_DEFINITIONS(-Os --std=gnu99 -Wall -Werror-implicit-function-declaration)
+ADD_DEFINITIONS(-Os --std=gnu99 -Wall -Werror-implicit-function-declaration -ffunction-sections)
MACRO(ADD_LINKER_FLAGS flags)
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${flags}")