diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-11-30 10:52:53 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-12 18:23:55 -0800 |
commit | 4ead29c688c43930d186c8274a9a2e0da32fbb2d (patch) | |
tree | e499aa3583a9b1e8690d3a91466d9a8ebd1c958c /firmware/microblaze | |
parent | c08da91e832637e3197758f81128682f6fccf1bd (diff) | |
download | uhd-4ead29c688c43930d186c8274a9a2e0da32fbb2d.tar.gz uhd-4ead29c688c43930d186c8274a9a2e0da32fbb2d.tar.bz2 uhd-4ead29c688c43930d186c8274a9a2e0da32fbb2d.zip |
ZPU: -ffunction-sections
Diffstat (limited to 'firmware/microblaze')
-rw-r--r-- | firmware/microblaze/CMakeLists.txt | 2 |
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}") |