mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 02:19:31 +08:00
solve the awful order dependant linking for gcc/clang! + get rid of whole archive flag
This commit is contained in:
parent
de1ddcb6a2
commit
8c3815b9af
@ -459,6 +459,7 @@ flags {
|
||||
}
|
||||
targetprefix "" -- prevent adding the prefix libxxx on linux
|
||||
visibility "Hidden" -- hide all symbols by default on GCC (unless they are marked visible)
|
||||
linkgroups "On" -- turn off the awful order dependent linking on gcc/clang, causes the linker to go back and forth to find missing symbols
|
||||
exceptionhandling "On" -- "Enable exception handling. ... although it does not affect execution."
|
||||
vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths/
|
||||
["headers/*"] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user