Created
June 11, 2016 14:07
-
-
Save monwarez/aabb4807150ccb53cee6bd963599fb61 to your computer and use it in GitHub Desktop.
RoR patching for FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- CMakeLists.txt.orig 2016-03-22 21:30:39 UTC | |
+++ CMakeLists.txt | |
@@ -115,7 +115,7 @@ ELSEIF(UNIX) | |
set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -Os -ffast-math -DNDEBUG") | |
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG}") | |
- set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") | |
+ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -lintl") | |
set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO}") | |
# add additional gdb debugging stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- source/main/CMakeLists.txt.orig 2016-03-22 21:30:39 UTC | |
+++ source/main/CMakeLists.txt | |
@@ -16,7 +16,7 @@ macro(add_ror_project BINNAME folder use | |
add_definitions("/wd4305 /wd4244 /wd4193 -DNOMINMAX") | |
ELSEIF(UNIX) | |
include_directories(${GTK_INCLUDE_DIRS}) | |
- set(OS_LIBS "X11 -l${CMAKE_DL_LIBS} -lrt") | |
+ set(OS_LIBS "X11 -lrt") | |
ENDIF(WIN32) | |
# build with support for Mumble positional audio, has no dependencies but requires linking against librt on UNIX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment