medfall

A super great game engine
Log | Files | Refs

commit 5eb048d48ddb98b3723f648ece7c4391a5af15cb
parent 70aec21641754956ad34e1457bc959e47c98ab0c
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri Jul  7 23:13:33 +0300

OSX ldflags

Diffstat:
scripts/gen_makefile.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -67,11 +67,13 @@ configs[ "macos" ] = copy( configs[ "linux" ] ) configs[ "macos" ].cxx = "clang++" -- TODO: this is not quite right because it can get nuked by gcc_obj_replace_cxxflags configs[ "macos" ].cxxflags = configs[ "macos" ].cxxflags .. " -mmacosx-version-min=10.9" +configs[ "macos" ].ldflags = "-lm" configs[ "macos-64" ] = copy( configs[ "linux-64" ] ) configs[ "macos-debug" ] = copy( configs[ "linux-debug" ] ) configs[ "macos-asan" ] = copy( configs[ "linux-asan" ] ) configs[ "macos-release" ] = copy( configs[ "linux-release" ] ) +configs[ "macos-release" ].ldflags = "-Wl,-dead-strip -Wl,-x" configs[ "openbsd" ] = copy( configs[ "linux" ] ) configs[ "openbsd" ].cxx = "-eg++"