mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
oops, we only want to affect local CFLAGS
This commit is contained in:
parent
d5624dcc0d
commit
7ffce0c119
@ -23,7 +23,7 @@ E2FSPROGS_DIR:=$(top_builddir)/e2fsprogs/
|
||||
endif
|
||||
srcdir=$(top_srcdir)/e2fsprogs
|
||||
|
||||
CFLAGS += -I$(E2FSPROGS_DIR) -include $(E2FSPROGS_DIR)e2fsbb.h
|
||||
E2FSPROGS_CFLAGS := -I$(E2FSPROGS_DIR) -include $(E2FSPROGS_DIR)e2fsbb.h
|
||||
|
||||
E2P_SRC := fgetsetflags.c fgetsetversion.c pf.c iod.c
|
||||
E2P_SRCS := $(patsubst %,e2p/%, $(E2P_SRC))
|
||||
@ -40,4 +40,4 @@ $(E2FSPROGS_DIR)$(E2FSPROGS_AR): $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y))
|
||||
$(AR) -ro $@ $(patsubst %,$(E2FSPROGS_DIR)%, $(E2FSPROGS-y))
|
||||
|
||||
$(E2FSPROGS_DIR)%.o: $(srcdir)/%.c
|
||||
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
|
||||
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(E2FSPROGS_CFLAGS) -c -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user