Revert "cmake: set correct flags for curl during compilation on Manjaro"

This reverts commit 857757bb47.
This commit is contained in:
Remy Marquis 2021-09-22 10:50:33 +02:00
parent 374b39d5f6
commit 7020f55ac5

View file

@ -479,13 +479,9 @@ elseif(UNIX)
else() else()
set(CURL_BUILD_APPEND CFLAGS=-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}\ -arch=x86_64\ -pipe\ -Os\ -gdwarf-2\ -fembed-bitcode) set(CURL_BUILD_APPEND CFLAGS=-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}\ -arch=x86_64\ -pipe\ -Os\ -gdwarf-2\ -fembed-bitcode)
endif() endif()
else()
if(CROSS_COMPILE32)
set(CURL_BUILD_APPEND ${CROSS_COMPILE32_FLAGS})
else() else()
set(CURL_BUILD_APPEND "") set(CURL_BUILD_APPEND "")
endif() endif()
endif()
set(CURL_CONFIGURE autoreconf -iv && ./configure --prefix=${LIBS_BINARY_DIR}/curl set(CURL_CONFIGURE autoreconf -iv && ./configure --prefix=${LIBS_BINARY_DIR}/curl
--enable-shared=no --enable-static=yes --enable-shared=no --enable-static=yes