Removed hardcoded CFLAGS
This commit is contained in:
parent
f740473319
commit
a11ffb64f5
@ -18,9 +18,8 @@ rm -rf $DESTDIR
|
||||
|
||||
echo "Configuring nano..."
|
||||
CFLAGS="$CFLAGS" ./configure \
|
||||
--prefix=/usr
|
||||
--disable-utf8 \
|
||||
CFLAGS="-Os -s -fno-stack-protector -U_FORTIFY_SOURCE"
|
||||
--prefix=/usr \
|
||||
LDFLAGS=-L$WORK_DIR/overlay/ncurses/ncurses_installed/usr/include
|
||||
|
||||
echo "Building nano..."
|
||||
make -j $NUM_JOBS
|
||||
|
@ -22,7 +22,7 @@ sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in
|
||||
|
||||
# Configure Ncurses
|
||||
echo "Configuring Ncurses..."
|
||||
./configure \
|
||||
CFLAGS="$CFLAGS" ./configure \
|
||||
--prefix=/usr \
|
||||
--with-termlib \
|
||||
--with-terminfo-dirs=/lib/terminfo \
|
||||
@ -36,7 +36,6 @@ echo "Configuring Ncurses..."
|
||||
--with-shared \
|
||||
CPPFLAGS=-I$PWD/ncurses/widechar \
|
||||
LDFLAGS=-L$PWD/lib \
|
||||
CFLAGS="-Os -s -fno-stack-protector -U_FORTIFY_SOURCE" \
|
||||
CPPFLAGS="-P"
|
||||
|
||||
# Most configuration switches are from AwlsomeAlex
|
||||
@ -68,3 +67,4 @@ cp -r $DESTDIR/usr/* $ROOTFS
|
||||
echo "ncurses has been installed."
|
||||
|
||||
cd $SRC_DIR
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user