diff options
author | Amaan Cheval <amaan.cheval@gmail.com> | 2018-08-13 15:51:47 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-08-13 10:48:20 -0500 |
commit | ab971bf5e37a057432c267175ddf12d6799a2b35 (patch) | |
tree | ebc850151dee80f7bbd28ecac40987f34516cfaa /bsps/x86_64 | |
parent | 382d6537df61d1783985e395b4418324cad1f324 (diff) |
bsps/x86_64: Reorganize header files and compile-options
Updates #2898.
Diffstat (limited to 'bsps/x86_64')
-rw-r--r-- | bsps/x86_64/amd64/config/amd64.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsps/x86_64/amd64/config/amd64.cfg b/bsps/x86_64/amd64/config/amd64.cfg index 3c4492d9d3..ad861cb867 100644 --- a/bsps/x86_64/amd64/config/amd64.cfg +++ b/bsps/x86_64/amd64/config/amd64.cfg @@ -11,3 +11,6 @@ CPU_CFLAGS = -mno-red-zone # way we can avoid linker-time relocation errors spawning from values being # larger than their optimized container sizes. CPU_CFLAGS += -mcmodel=large +CPU_CFLAGS += -Werror=return-type + +LDFLAGS = -Wl,--gc-sections |