aboutsummaryrefslogtreecommitdiff
path: root/core/dhcpcd/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-05 14:46:06 +0300
committerCem Keylan <cem@ckyln.com>2020-06-05 14:46:06 +0300
commit5d327cff92b68ce9c7cdc534fc7b7bbefc607dad (patch)
tree391c87c35987ba89e580421b255b9269dd16ec0e /core/dhcpcd/build
parent64d01a482cf80a28ff012cf8fac03c6085deefcf (diff)
downloadrepository-5d327cff92b68ce9c7cdc534fc7b7bbefc607dad.tar.gz
dhcpcd: bump to 9.1.1
Diffstat (limited to 'core/dhcpcd/build')
-rwxr-xr-xcore/dhcpcd/build6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/dhcpcd/build b/core/dhcpcd/build
index dc88fb1f..83275995 100755
--- a/core/dhcpcd/build
+++ b/core/dhcpcd/build
@@ -2,11 +2,15 @@
patch -p1 < fix-common-header.patch
+export CFLAGS="$CFLAGS -fPIC"
+export LDFLAGS="$LDFLAGS -static"
+
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
- --rundir=/run
+ --rundir=/run \
+ --without-udev
make
make DESTDIR="$1" install