aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uuid
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-06-13 15:29:13 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-06-13 16:06:44 -0400
commitc1986ecb6fc68427db7579d409929939117e45ff (patch)
tree8cb42a4ced5d8eab9d26408c383f537c71974b4e /lib/uuid
parent8f00911a21f4e95de84c60e09cc4df173e5b6701 (diff)
downloadandroid_external_e2fsprogs-c1986ecb6fc68427db7579d409929939117e45ff.tar.gz
android_external_e2fsprogs-c1986ecb6fc68427db7579d409929939117e45ff.tar.bz2
android_external_e2fsprogs-c1986ecb6fc68427db7579d409929939117e45ff.zip
Fix blhc (Build Log Hardening Check) warnings
The Build Log Hardening Check is a debian tool which scans the output of a package build making sure that the security hardening flags are used when compiling and linking all of binaries in a package. For the most part we were passing CFLAGS, CPPFLAGS, and LDFLAGS down to the compiler and link commands, but there there were one or two exceptions. In addition, there where a few places in "make install" where the V=1 option was not being honored, which triggered blhc warnings since it couldn't analyze those commands. The e2fsck.static was the only binary that was not getting built and packaged with the hardening flags, but I've fixed all of the blhc warnings so in the future it will be obvious if we regress. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/uuid')
-rw-r--r--lib/uuid/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/uuid/Makefile.in b/lib/uuid/Makefile.in
index caa13f78..7329467e 100644
--- a/lib/uuid/Makefile.in
+++ b/lib/uuid/Makefile.in
@@ -86,8 +86,8 @@ tst_uuid: tst_uuid.o $(DEPSTATIC_LIBUUID)
uuid_time: $(srcdir)/uuid_time.c $(DEPLIBUUID)
$(E) " LD $@"
- $(Q) $(CC) $(ALL_CFLAGS) -DDEBUG -o uuid_time $(srcdir)/uuid_time.c \
- $(LIBUUID)
+ $(Q) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -DDEBUG -o uuid_time \
+ $(srcdir)/uuid_time.c $(LIBUUID)
uuid.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid.3.in
$(E) " SUBST $@"