medfall

A super great game engine
Log | Files | Refs

commit 3f0d18197081a08935b98649e7d3893b89d5e740
parent d3711e465ff5c913f6a5935e0765bc7ec58a6c7a
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun, 15 Oct 2017 12:32:20 +0300

Use clang on OpenBSD since it's the default in 6.2

Diffstat:
scripts/gen_makefile.lua | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -75,8 +75,9 @@ 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++" -configs[ "openbsd" ].ldflags = "-lm -lpthread -lexecinfo" +configs[ "openbsd" ].cxx = "clang++" +configs[ "openbsd" ].cxxflags = configs[ "openbsd" ].cxxflags .. " -I/usr/local/include" +configs[ "openbsd" ].ldflags = "-lm -lpthread -lexecinfo -L/usr/local/lib" configs[ "openbsd-64" ] = copy( configs[ "linux-64" ] ) configs[ "openbsd-debug" ] = copy( configs[ "linux-debug" ] )