Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153539127
D21145.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21145.diff
View Options
Index: head/misc/libsweep-lidar/Makefile
===================================================================
--- head/misc/libsweep-lidar/Makefile
+++ head/misc/libsweep-lidar/Makefile
@@ -11,9 +11,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_powerpc64= fails to compile: unrecognized command line option "-Weverything"
-
-USES= cmake
+USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= scanse
GH_PROJECT= sweep-sdk
Index: head/misc/libsweep-lidar/files/patch-libsweep_CMakeLists.txt
===================================================================
--- head/misc/libsweep-lidar/files/patch-libsweep_CMakeLists.txt
+++ head/misc/libsweep-lidar/files/patch-libsweep_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- libsweep/CMakeLists.txt.orig 2019-07-20 09:46:23 UTC
++++ libsweep/CMakeLists.txt
+@@ -19,7 +19,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ set(libsweep_OS unix)
+
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Weverything -fvisibility=hidden -fPIC -fno-rtti")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fvisibility=hidden -fPIC -fno-rtti")
+ set(libsweep_OS unix)
+
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 6:25 PM (8 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31993278
Default Alt Text
D21145.diff (1 KB)
Attached To
Mode
D21145: misc/libsweep-lidar: fix build with GCC architectures
Attached
Detach File
Event Timeline
Log In to Comment