-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [GDAL] Bump to v3.7.1 * Missing comma * Switch to gitsource * Update G/GDAL/build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * Update build_tarballs.jl * tweak ldflags * Update build_tarballs.jl * use gcc for freebsd * add patch * tweak paths * Fix ordering, etc. * Add back dependency bounds * Fix bsd patch * Apply patch for all platforms * Bump HDF5 * Update G/GDAL/build_tarballs.jl Co-authored-by: Martijn Visser <mgvisser@gmail.com> * expand hdf5 platforms, bump gdal * Update G/GDAL/build_tarballs.jl Co-authored-by: Martijn Visser <mgvisser@gmail.com> * Update G/GDAL/build_tarballs.jl * move license.txt import * trigger build... * Update build_tarballs.jl * Update build_tarballs.jl --------- Co-authored-by: Martijn Visser <mgvisser@gmail.com>
- Loading branch information
1 parent
452cb0e
commit 9aa7a94
Showing
2 changed files
with
57 additions
and
38 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/gdal.cmake b/gdal.cmake | ||
index e221f99b79..9c93be2cd8 100644 | ||
--- a/gdal.cmake | ||
+++ b/gdal.cmake | ||
@@ -280,7 +280,7 @@ endif () | ||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") | ||
include(CheckLinkerFlag) | ||
check_linker_flag(C "-Wl,--no-undefined" HAS_NO_UNDEFINED) | ||
- if (HAS_NO_UNDEFINED AND (NOT "${CMAKE_CXX_FLAGS}" MATCHES "-fsanitize") AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") | ||
+ if (HAS_NO_UNDEFINED AND (NOT "${CMAKE_CXX_FLAGS}" MATCHES "-fsanitize") AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD" AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD") | ||
string(APPEND CMAKE_SHARED_LINKER_FLAGS " -Wl,--no-undefined") | ||
string(APPEND CMAKE_MODULE_LINKER_FLAGS " -Wl,--no-undefined") | ||
endif () |