Files
packages/net/miniupnpc/patches/100-no-fPIC.patch
Tianling Shen 7224e0ff04 miniupnpc: Update to 2.2.8
Updated binary path, rebased patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-02 09:50:57 -07:00

16 lines
541 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,12 +51,6 @@ if (APPLE)
target_compile_definitions(miniupnpc-private INTERFACE _DARWIN_C_SOURCE)
endif ()
-# Set compiler specific build flags
-if (CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_SYSTEM_NAME STREQUAL "AmigaOS")
- set(CMAKE_POSITION_INDEPENDENT_CODE ON)
- target_compile_options(miniupnpc-private INTERFACE -Wall)
-endif ()
-
# Suppress noise warnings
if (MSVC)
target_compile_definitions(miniupnpc-private INTERFACE _CRT_SECURE_NO_WARNINGS _WINSOCK_DEPRECATED_NO_WARNINGS)