mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
comms/libbtbb: fix build with GCC-based architectures
Base GCC doesn't support gnu90, but does support gnu89, which is the same. PR: 239296 Approved by: gnn (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D20996
This commit is contained in:
parent
eff176f572
commit
89a0617bbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507633
11
comms/libbtbb/files/patch-lib_CMakeLists.txt
Normal file
11
comms/libbtbb/files/patch-lib_CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/CMakeLists.txt.orig 2019-07-19 07:29:49 UTC
|
||||
+++ lib/CMakeLists.txt
|
||||
@@ -32,7 +32,7 @@ add_definitions( -DVERSION="${VERSION}" )
|
||||
|
||||
if(NOT MSVC)
|
||||
add_definitions(-Wall)
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu89")
|
||||
endif()
|
||||
|
||||
add_subdirectory(src)
|
Loading…
x
Reference in New Issue
Block a user