CMAKE: Move flags to general location, disable sections for linker on Mac OS

This commit is contained in:
Lorenz Meier
2015-09-12 11:25:48 +02:00
parent ceb7204590
commit 4bc44841f6
3 changed files with 32 additions and 12 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# compiler tools
foreach(tool objcopy nm ld)
foreach(tool nm ld)
string(TOUPPER ${tool} TOOL)
find_program(${TOOL} ${tool})
if(NOT ${TOOL})