summaryrefslogtreecommitdiffstats
path: root/n
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2014-04-22 20:08:06 +0200
committerAdrien Nader <adrien@notk.org>2014-04-23 22:00:15 +0200
commit4876acb59db89cd57e3884a4e4cc1cc32ceb373c (patch)
tree176dd9f2ccfe3ee918c92c0300c037bd5b7389cf /n
parenta4c83f3643e18ca19008aa0a9779ff9eecadf6db (diff)
most: explicitely set -L in LDFLAGS and set CFLAGS to -O2 (many were empty)
Diffstat (limited to 'n')
-rwxr-xr-xn/curl/curl.SlackBuild3
-rwxr-xr-xn/gnutls/gnutls.SlackBuild1
-rwxr-xr-xn/nettle/nettle.SlackBuild1
-rwxr-xr-xn/wget/wget.SlackBuild3
4 files changed, 6 insertions, 2 deletions
diff --git a/n/curl/curl.SlackBuild b/n/curl/curl.SlackBuild
index ca110c1..37e4e99 100755
--- a/n/curl/curl.SlackBuild
+++ b/n/curl/curl.SlackBuild
@@ -65,7 +65,8 @@ sed -i \
-e "s/\(for gni_arg46 in\) \('size_t'\) \('int'\) \('socklen_t'\) \('unsigned int'\) \('DWORD'\); do/\1 \6 \2 \3 \4 \5; do/" \
configure
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="-O2" \
+LDFLAGS="-L/${PREFIX}/lib${LIBDIRSUFFIX}" \
./configure \
--prefix=/${PREFIX} \
--libdir=/${PREFIX}/lib${LIBDIRSUFFIX} \
diff --git a/n/gnutls/gnutls.SlackBuild b/n/gnutls/gnutls.SlackBuild
index f4b9394..22936d5 100755
--- a/n/gnutls/gnutls.SlackBuild
+++ b/n/gnutls/gnutls.SlackBuild
@@ -72,6 +72,7 @@ sed -i -e 's/ struct sigaction new_action, old_action;/#ifndef _WIN32\n\0\n#end
CFLAGS="-O2" \
CXXFLAGS="-O2" \
+LDFLAGS="-L/${PREFIX}/lib${LIBDIRSUFFIX}" \
./configure \
--prefix=/${PREFIX} \
--libdir=/${PREFIX}/lib${LIBDIRSUFFIX} \
diff --git a/n/nettle/nettle.SlackBuild b/n/nettle/nettle.SlackBuild
index 9720a3e..53d1dff 100755
--- a/n/nettle/nettle.SlackBuild
+++ b/n/nettle/nettle.SlackBuild
@@ -59,6 +59,7 @@ find . \
# so I don't see any potential legal implications... --rworkman
CFLAGS="-O2" \
CXXFLAGS="-O2" \
+LDFLAGS="-L/${PREFIX}/lib${LIBDIRSUFFIX}" \
./configure \
--prefix=/${PREFIX} \
--libdir=/${PREFIX}/lib${LIBDIRSUFFIX} \
diff --git a/n/wget/wget.SlackBuild b/n/wget/wget.SlackBuild
index 5bba4a8..c274a45 100755
--- a/n/wget/wget.SlackBuild
+++ b/n/wget/wget.SlackBuild
@@ -60,7 +60,8 @@ sed -i 's/IN6_ARE_ADDR_EQUAL (\(&cur->data.d6\), \(&ip->data.d6\))/(memcmp(\1, \
# but wget is still using an old copy of gnulib.
find . -name 'msvc-inval.c' -exec sed -i 's/\<cdecl\>/__cdecl/' {} +
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="-O2" \
+LDFLAGS="-L/${PREFIX}/lib${LIBDIRSUFFIX}" \
./configure \
--prefix=/${PREFIX} \
--sysconfdir=/${PREFIX}/etc \