2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00

zip: build with generic_gcc to use $CC

This commit is contained in:
Dylan Araps 2019-10-07 01:56:17 +03:00
parent 092a9b1432
commit fb8d8befcd
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -2,5 +2,5 @@
sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile
make -f unix/Makefile prefix=/usr generic make -f unix/Makefile prefix=/usr generic_gcc
make prefix="$1/usr" MANDIR="$1/usr/share/man/man1" -f unix/Makefile install make prefix="$1/usr" MANDIR="$1/usr/share/man/man1" -f unix/Makefile install