summaryrefslogtreecommitdiffstats
path: root/ftp/curl/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/curl/BUILD')
-rwxr-xr-xftp/curl/BUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/ftp/curl/BUILD b/ftp/curl/BUILD
index 22c63c9239..95f5f020b0 100755
--- a/ftp/curl/BUILD
+++ b/ftp/curl/BUILD
@@ -1,5 +1,6 @@
-if [[ "$CURL_SSL" == "none" ]]; then
- OPTS="--without-gnutls --without-nss --without-ssl $OPTS"
-fi &&
+if [[ "$CFLAGS" != "${CFLAGS//-DPIC/}" ]]; then
+ CFLAGS="${CFLAGS//-DPIC/}" &&
+ CPPFLAGS="$CPPFLAGS -DPIC "
+fi &&
default_build