netpbm: improve CC being set in pkgmk,conf

This commit is contained in:
Danny Rawlins 2011-12-29 01:01:09 +11:00
parent 4e866949a5
commit 7de98c7338
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ build() {
sed -i -e 's/\(.*\$(SYMLINK) \)\(pnmtopnm\)\(\$(EXE) \)\(pamtopnm\)/\1\4\3\2/' \
converter/other/Makefile
make CC="${CC:-gcc}"
make
make pkgdir=$PKG/usr package
install -d $PKG/usr/share

View File

@ -34,10 +34,10 @@ BUILD_FIASCO = Y
# do not get built into anything.
# The C compiler (including macro preprocessor)
#CC = gcc
CC ?= gcc
# Note that 'cc' is usually an alias for whatever is the main compiler
# on a system, e.g. the GNU Compiler on Linux.
CC = cc
#CC = cc
# The linker.
LD = $(CC)