mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
games/irrlamb: fix build on non-x86
/usr/bin/c++ -DGAME_VERSION=\"1.0.1\" -DLUA_USE_LINUX -DPLATFORM=0 -I/usr/local/include -I/usr/local/include/irrlicht -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/irrlicht/include -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/OPCODE -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/libccd -I/wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/libccd/custom -I/usr/local/include/freetype2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11 -msse -mfpmath=sse -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DdNODEBUG -s -MD -MT CMakeFiles/irrlamb.dir/src/OPCODE/Ice/IceAABB.cpp.o -MF CMakeFiles/irrlamb.dir/src/OPCODE/Ice/IceAABB.cpp.o.d -o CMakeFiles/irrlamb.dir/src/OPCODE/Ice/IceAABB.cpp.o -c /wrkdirs/usr/ports/games/irrlamb/work/irrlamb-1.0.1/src/OPCODE/Ice/IceAABB.cpp c++: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] c++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] error: unknown FP unit 'sse' ninja: build stopped: subcommand failed. Builds fine on i386.
This commit is contained in:
parent
006829bcdc
commit
8eb6293903
@ -27,6 +27,15 @@
|
||||
|
||||
# projects
|
||||
project(irrlamb)
|
||||
@@ -33,7 +28,7 @@ elseif(UNIX)
|
||||
endif()
|
||||
|
||||
# compiler flags
|
||||
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11 -msse -mfpmath=sse")
|
||||
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated-declarations -pedantic -std=gnu++11")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DdNODEBUG -s")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DdNODEBUG -s")
|
||||
|
||||
@@ -44,6 +39,14 @@ include_directories(${X11_Xrandr_INCLUDE_PATH})
|
||||
include_directories(${X11_X11_INCLUDE_PATH})
|
||||
include_directories(${X11_xf86vmode_INCLUDE_PATH})
|
||||
|
Loading…
Reference in New Issue
Block a user