From: Victor Martinez Date: Tue, 17 May 2016 19:30:40 +0000 (+0000) Subject: eudev: fixed build X-Git-Url: http://gitweb/?a=commitdiff_plain;h=4832420a7adcd095e37ad0db85c3a12de4c39635;p=crossrootfs.git eudev: fixed build --- 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}}