mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 13:03:06 +01:00
Added -Wl,--as-needed linker option for Linux.
This commit is contained in:
@@ -739,6 +739,7 @@ function toolchain(_buildDir, _libDir)
|
||||
}
|
||||
linkoptions {
|
||||
"-Wl,--gc-sections",
|
||||
"-Wl,--as-needed",
|
||||
}
|
||||
|
||||
configuration { "linux-gcc*", "x32" }
|
||||
|
||||
Reference in New Issue
Block a user