commit 1b0c479d4d850e7254e045395f8a389ff5965c25 parent 91045305b185e19bd06b4c1a6da209729e20b843 Author: cfillion <cfillion@users.noreply.github.com> Date: Wed, 16 Dec 2015 16:59:05 -0500 setup dual build for osx Diffstat:
M | .gitignore | | | 4 | ++++ |
M | macosx.tup | | | 1 | + |
A | x64/tup.config | | | 1 | + |
A | x86/tup.config | | | 1 | + |
4 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -6,3 +6,7 @@ src/resource.rc_mac* src/resource.res vendor/ !vendor/.gitkeep +x64/ +!x64/tup.config +x86/ +!x86/tup.config diff --git a/macosx.tup b/macosx.tup @@ -7,6 +7,7 @@ CXXFLAGS += -fdiagnostics-color -fstack-protector-strong CXXFLAGS += -pipe -fPIC -O2 -std=c++14 CXXFLAGS += -Ivendor -Ivendor/WDL -Ivendor/WDL/WDL CXXFLAGS += -DWDL_NO_DEFINE_MINMAX +CXXFLAGS += -arch @(ARCH) WDLFLAGS := -std=c++98 -w diff --git a/x64/tup.config b/x64/tup.config @@ -0,0 +1 @@ +CONFIG_ARCH=x86_64 diff --git a/x86/tup.config b/x86/tup.config @@ -0,0 +1 @@ +CONFIG_ARCH=i386