- second attempt to respect CC and CFLAGS
Feature safe: yes
This commit is contained in:
parent
3e4ffce65f
commit
53c39b5e87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286359
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ post-patch:
|
|||
${WRKSRC}/../prg/chk_all.sd7
|
||||
|
||||
do-configure:
|
||||
(cd ${WRKSRC} && ${GMAKE} depend)
|
||||
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} depend)
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/../bin/hi ${PREFIX}/bin
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -ftrapv
|
||||
# CFLAGS = -O2 -g -x c++ -Wall -Winline -Wconversion -Wshadow -Wpointer-arith
|
||||
-CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
||||
+CFLAGS += -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -I%%LOCALBASE%%/include
|
||||
+CFLAGS += -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -I%%LOCALBASE%%/include
|
||||
# CFLAGS = -O2 -g -std=c99 -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
||||
# CFLAGS = -O2 -g -Wall -Winline -Wconversion -Wshadow -Wpointer-arith
|
||||
# CFLAGS = -O2 -g -Wall
|
||||
|
|
Loading…
Reference in a new issue