diff options
Diffstat (limited to 'arch_link_fix_release.diff')
-rw-r--r-- | arch_link_fix_release.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch_link_fix_release.diff b/arch_link_fix_release.diff new file mode 100644 index 000000000000..3943d8fbac0d --- /dev/null +++ b/arch_link_fix_release.diff @@ -0,0 +1,29 @@ +--- build.ninja 2015-11-30 14:46:40.880324480 +0100 ++++ build.ninja.arch 2015-11-30 14:48:35.452493135 +0100 +@@ -6,7 +6,7 @@ + + # ============================================================================= + # Write statements declared in CMakeLists.txt: +-# ++# + # Which is the root file. + # ============================================================================= + +@@ -1365,7 +1365,7 @@ + + build Player/Contents/PolycodePlayer: CXX_EXECUTABLE_LINKER__PolycodePlayer Player/Contents/CMakeFiles/PolycodePlayer.dir/Source/PolycodePlayer.cpp.o Player/Contents/CMakeFiles/PolycodePlayer.dir/Source/PolycodeLinuxPlayer.cpp.o Player/Contents/CMakeFiles/PolycodePlayer.dir/Platform/Linux/main.cpp.o | Bindings/Contents/LUA/libPolycodeLua.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblua5.1.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbis.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibogg.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a ../../Release/Linux/Framework/Core/Dependencies/lib/libz.a /usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSDL.so Modules/Bindings/2DPhysics/Physics2DLua.a Modules/Bindings/3DPhysics/Physics3DLua.a Modules/Bindings/UI/UILua.a Modules/Contents/2DPhysics/libPolycode2DPhysics.a Modules/Contents/3DPhysics/libPolycode3DPhysics.a Modules/Contents/UI/libPolycodeUI.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBox2D.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletMultiThreaded.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletSoftBody.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletDynamics.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletCollision.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libLinearMath.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a /usr/lib64/libGLU.so /usr/lib64/libGL.so || Core/Contents/libPolycore.a Bindings/Contents/LUA/libPolycodeLua.a Modules/Contents/2DPhysics/libPolycode2DPhysics.a Modules/Contents/3DPhysics/libPolycode3DPhysics.a Modules/Contents/UI/libPolycodeUI.a Modules/Bindings/2DPhysics/Physics2DLua.a Modules/Bindings/3DPhysics/Physics3DLua.a Modules/Bindings/UI/UILua.a + FLAGS = -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -O3 -DNDEBUG +- LINK_FLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro ++ LINK_FLAGS = -lX11 -lxcb -Wl,-O1,--sort-common,--as-needed,-z,relro + LINK_LIBRARIES = -rdynamic -lrt -lpthread Bindings/Contents/LUA/libPolycodeLua.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblua5.1.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbis.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibogg.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a ../../Release/Linux/Framework/Core/Dependencies/lib/libz.a -lGLU -lGL -lSDL -ldl Modules/Bindings/2DPhysics/Physics2DLua.a Modules/Bindings/3DPhysics/Physics3DLua.a Modules/Bindings/UI/UILua.a Modules/Contents/2DPhysics/libPolycode2DPhysics.a Modules/Contents/3DPhysics/libPolycode3DPhysics.a Modules/Contents/UI/libPolycodeUI.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBox2D.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletMultiThreaded.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletSoftBody.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletDynamics.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletCollision.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libLinearMath.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a -lGLU -lGL -Wl,-rpath,/home/marcs/Arch/AUR/polycode/src/Polycode-master/Release/Linux/Framework/Core/Dependencies/lib: + OBJECT_DIR = Player/Contents/CMakeFiles/PolycodePlayer.dir + POST_BUILD = : +@@ -1411,7 +1411,7 @@ + + build Player/Contents/StandalonePlayer: CXX_EXECUTABLE_LINKER__StandalonePlayer Player/Contents/CMakeFiles/StandalonePlayer.dir/Source/PolycodePlayer.cpp.o Player/Contents/CMakeFiles/StandalonePlayer.dir/Source/PolycodeLinuxPlayer.cpp.o Player/Contents/CMakeFiles/StandalonePlayer.dir/Platform/Linux/Standalone/main.cpp.o | Bindings/Contents/LUA/libPolycodeLua.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblua5.1.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbis.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibogg.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a ../../Release/Linux/Framework/Core/Dependencies/lib/libz.a /usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSDL.so Modules/Bindings/2DPhysics/Physics2DLua.a Modules/Bindings/3DPhysics/Physics3DLua.a Modules/Bindings/UI/UILua.a Modules/Contents/2DPhysics/libPolycode2DPhysics.a Modules/Contents/3DPhysics/libPolycode3DPhysics.a Modules/Contents/UI/libPolycodeUI.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBox2D.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletMultiThreaded.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletSoftBody.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletDynamics.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletCollision.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libLinearMath.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a /usr/lib64/libGLU.so /usr/lib64/libGL.so || Core/Contents/libPolycore.a Bindings/Contents/LUA/libPolycodeLua.a Modules/Contents/2DPhysics/libPolycode2DPhysics.a Modules/Contents/3DPhysics/libPolycode3DPhysics.a Modules/Contents/UI/libPolycodeUI.a Modules/Bindings/2DPhysics/Physics2DLua.a Modules/Bindings/3DPhysics/Physics3DLua.a Modules/Bindings/UI/UILua.a + FLAGS = -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -O3 -DNDEBUG +- LINK_FLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro ++ LINK_FLAGS = -lX11 -lxcb -Wl,-O1,--sort-common,--as-needed,-z,relro + LINK_LIBRARIES = -rdynamic -lrt -lpthread Bindings/Contents/LUA/libPolycodeLua.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblua5.1.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbis.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibogg.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a ../../Release/Linux/Framework/Core/Dependencies/lib/libz.a -lGLU -lGL -lSDL -ldl Modules/Bindings/2DPhysics/Physics2DLua.a Modules/Bindings/3DPhysics/Physics3DLua.a Modules/Bindings/UI/UILua.a Modules/Contents/2DPhysics/libPolycode2DPhysics.a Modules/Contents/3DPhysics/libPolycode3DPhysics.a Modules/Contents/UI/libPolycodeUI.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBox2D.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletMultiThreaded.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletSoftBody.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletDynamics.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libBulletCollision.a ../../Release/Linux/Framework/Modules/Dependencies/lib/libLinearMath.a Core/Contents/libPolycore.a ../../Release/Linux/Framework/Core/Dependencies/lib/libfreetype.a ../../Release/Linux/Framework/Core/Dependencies/lib/liblibvorbisfile.a ../../Release/Linux/Framework/Core/Dependencies/lib/libopenal.so ../../Release/Linux/Framework/Core/Dependencies/lib/libphysfs.a ../../Release/Linux/Framework/Core/Dependencies/lib/libpng.a -lGLU -lGL -Wl,-rpath,/home/marcs/Arch/AUR/polycode/src/Polycode-master/Release/Linux/Framework/Core/Dependencies/lib: + OBJECT_DIR = Player/Contents/CMakeFiles/StandalonePlayer.dir + POST_BUILD = : |