mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-03 05:02:13 +00:00
build: honor CPPFLAGS
This commit is contained in:
parent
8c12f9f61e
commit
7d3030b45a
4
Makefile
4
Makefile
@ -69,7 +69,7 @@ clean:
|
||||
@rm -f $(USR_BIN_FILES)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(CFLAGS-$@) -o $@ -c $<
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS-$@) -o $@ -c $<
|
||||
|
||||
abuild-sudo: abuild-sudo.o
|
||||
$(LINK)
|
||||
@ -78,7 +78,7 @@ abuild-tar: abuild-tar.o
|
||||
$(LINK)
|
||||
|
||||
abuild-tar.static: abuild-tar.o
|
||||
$(CC) $(CFLAGS) $(CFLAGS-$@) -o $@ -static $(LIBS-$@) $^
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS-$@) -o $@ -static $(LIBS-$@) $^
|
||||
|
||||
help:
|
||||
@echo "$(P) makefile"
|
||||
|
Loading…
Reference in New Issue
Block a user