summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2021-05-16 14:25:44 -0600
committerGitHub <noreply@github.com>2021-05-16 14:25:44 -0600
commitfd4be981bd245568d05c22813a6e350ad2cf9ce2 (patch)
treeb71cc3a6e62b5110cdfba373f07ae357e81e18c3
parent1f727249f766bb6267235d28cecc4bb9164a63cf (diff)
downloadbcm5719-ortega-fd4be981bd245568d05c22813a6e350ad2cf9ce2.tar.gz
bcm5719-ortega-fd4be981bd245568d05c22813a6e350ad2cf9ce2.zip
stage1: Reduce total code size as speed is not important for the RX CPU. (#217)
-rw-r--r--cmake/mips.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/mips.cmake b/cmake/mips.cmake
index 014be4d..2c9ef86 100644
--- a/cmake/mips.cmake
+++ b/cmake/mips.cmake
@@ -45,7 +45,8 @@
SET(MIPS_COMPILE_OPTIONS "-DLINT_FILE=clang-mips" -nostdlib -nodefaultlibs
-fomit-frame-pointer
-include "${CMAKE_SOURCE_DIR}/include/banned.h"
- -target mips -mcpu=mips2)
+ -target mips -mcpu=mips2
+ -Os)
SET(MIPS_LINK_OPTIONS --gc-sections)
# SET(CMAKE_EXE_LINKER_FLAGS -static)
OpenPOWER on IntegriCloud