Changes between Initial Version and Version 1 of Ticket #1516, comment 16
- Timestamp:
- Jul 22, 2012, 5:15:47 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1516, comment 16
initial v1 2 2 > About the `premake4.lua` patch: line 338 in `project_create()` looks redundant because the flag is already set a few lines earlier in `project_set_build_flags()`. I'm not sure what was intended. 3 3 4 I looked into this a bit more. The problem is that [source:/ps/trunk/build/premake/premake4/src/tools/gcc.lua gcc.lua] will always emit either -g or -sflags depending on whether Premake's [http://industriousone.com/flags Symbols flag] is used (`Symbols` => g++ -g, else => ld -s) and that's not something we control directly with `premake4.lua`. We'd need some other means to disable both flags: the yucky way using sed or the nicer way of adding a new flag like `NoSymbolsFlags` :)4 I looked into this a bit more. The problem is that [source:/ps/trunk/build/premake/premake4/src/tools/gcc.lua gcc.lua] will always emit either [http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options -g] or [http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options -s] flags depending on whether Premake's [http://industriousone.com/flags Symbols flag] is used (`Symbols` => g++ -g, else => ld -s) and that's not something we control directly with `premake4.lua`. We'd need some other means to disable both flags: the yucky way using sed or the nicer way of adding a new flag like `NoSymbolsFlags` :) 5 5 6 6 Anyway they are not a serious problem IMO.