Commit 16e41691 authored by mercury233's avatar mercury233

wtf fix 5

parent badd5283
...@@ -8,7 +8,6 @@ export YGOPRO_LIBEVENT_STATIC_PATH=$PWD/libevent-stable ...@@ -8,7 +8,6 @@ export YGOPRO_LIBEVENT_STATIC_PATH=$PWD/libevent-stable
git submodule update --init git submodule update --init
./premake5 gmake --cc=clang ./premake5 gmake --cc=clang
cat ./build/lua.make
cd build cd build
make config=release -j4 make config=release -j4
cd .. cd ..
......
...@@ -58,12 +58,11 @@ if not os.getenv("YGOPRO_NO_XP_TOOLSET") then ...@@ -58,12 +58,11 @@ if not os.getenv("YGOPRO_NO_XP_TOOLSET") then
end end
configuration "bsd" configuration "bsd"
defines { "LUA_USE_POSIX" }
includedirs { "/usr/local/include" } includedirs { "/usr/local/include" }
libdirs { "/usr/local/lib" } libdirs { "/usr/local/lib" }
configuration "macosx" configuration "macosx"
defines { "LUA_USE_MACOSX", "DBL_MAX_10_EXP=+308", "DBL_MANT_DIG=53", "GL_SILENCE_DEPRECATION" } defines { "GL_SILENCE_DEPRECATION" }
if not LIBEVENT_ROOT then if not LIBEVENT_ROOT then
includedirs { "/usr/local/include/event2" } includedirs { "/usr/local/include/event2" }
libdirs { "/usr/local/lib" } libdirs { "/usr/local/lib" }
...@@ -75,7 +74,6 @@ end ...@@ -75,7 +74,6 @@ end
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" } links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }
configuration "linux" configuration "linux"
defines { "LUA_USE_LINUX" }
buildoptions { "-U_FORTIFY_SOURCE" } buildoptions { "-U_FORTIFY_SOURCE" }
configuration "Release" configuration "Release"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment