diff options
Diffstat (limited to 'core/dhcpcd/build')
-rwxr-xr-x | core/dhcpcd/build | 6 |
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 |