mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
- minor tweak
This commit is contained in:
parent
7a7e54a190
commit
493691a4f5
@ -106,10 +106,11 @@ include libbb/Kbuild
|
|||||||
lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y)))
|
lib-all-y += $(patsubst %,libbb/%,$(sort $(lib-y)))
|
||||||
lib-y:=
|
lib-y:=
|
||||||
|
|
||||||
|
include Makefile.flags
|
||||||
ifndef BB_VER
|
ifndef BB_VER
|
||||||
BB_VER:=""
|
BB_VER:=""
|
||||||
endif
|
endif
|
||||||
include Makefile.flags
|
|
||||||
CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
|
CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q
|
||||||
|
|
||||||
HOSTCC = gcc
|
HOSTCC = gcc
|
||||||
@ -117,7 +118,7 @@ CC = gcc
|
|||||||
|
|
||||||
busybox: $(usage_stuff)
|
busybox: $(usage_stuff)
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_EXTRA) --combine -fwhole-program \
|
||||||
-funit-at-a-time -Wno-error \
|
-funit-at-a-time -Wno-error -std=gnu99 \
|
||||||
-o $(@)_unstripped $(lib-all-y:.o=.c) \
|
-o $(@)_unstripped $(lib-all-y:.o=.c) \
|
||||||
-Wl,--start-group -lcrypt -lm -Wl,--end-group
|
-Wl,--start-group -lcrypt -lm -Wl,--end-group
|
||||||
cp $(@)_unstripped $@
|
cp $(@)_unstripped $@
|
||||||
|
Loading…
Reference in New Issue
Block a user