c_ares: improve CMAKE_BUILD_TYPE

None isn't what we want here. thanks waddlesplash.
This commit is contained in:
Jérôme Duval
2021-10-15 19:08:18 +02:00
committed by GitHub
parent 8f70087db3
commit a051de79df

View File

@@ -14,7 +14,7 @@ COPYRIGHT="2004-2018 by Daniel Stenberg et al
2012 Marko Kreen
2005 Dominick Meglio"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://c-ares.haxx.se/download/c-ares-$portVersion.tar.gz"
CHECKSUM_SHA256="4803c844ce20ce510ef0eb83f8ea41fa24ecaae9d280c468c582d2bb25b3913d"
SOURCE_DIR="c-ares-$portVersion"
@@ -61,8 +61,7 @@ defineDebugInfoPackage c_ares$secondaryArchSuffix \
BUILD()
{
cmake $cmakeDirArgs \
-DCMAKE_BUILD_TYPE='None' \
-DHAVE_ARPA_NAMESER_H=TRUE \
-DCMAKE_BUILD_TYPE='RelWithDebInfo' \
-Wno-dev -B build -S .
make -C build $jobArgs
}