From 4832420a7adcd095e37ad0db85c3a12de4c39635 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 17 May 2016 19:30:40 +0000 Subject: [PATCH] eudev: fixed build --- eudev/Pkgfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eudev/Pkgfile b/eudev/Pkgfile index ff0f94e..7b6c966 100644 --- a/eudev/Pkgfile +++ b/eudev/Pkgfile @@ -37,7 +37,7 @@ build () { # udevadm build to use it later on host to generate hwdb pushd $SRC/$name-$version-host unset CC CXX AR AS RANLIB LD CFLAGS CXXFLAGS LDFLAGS - + export CFLAGS="-L/usr/lib -I/usr/include -D_GNU_SOURCE" autoreconf -vi ./configure --prefix=/usr \ --sbindir=/sbin --bindir=/sbin \ @@ -49,14 +49,14 @@ build () { --disable-manpages \ --enable-split-usr - make CFLAGS="$CFLAGS -L/usr/lib -I/usr/include -D_GNU_SOURCE" + make - cp src/udev/udevadm $PKGMK_WORK_DIR/ + cp src/udev/udevadm $WORK/ popd # create binary hwdb LD_LIBRARY_PATH=$PKG/lib \ - $PKGMK_WORK_DIR/udevadm hwdb --update --root=$PKG + $WORK/udevadm hwdb --update --root=$PKG # Devices mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}} -- 2.26.2