arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

Blame SOURCES/glibc-rh1505492-undef-2.patch

147e83
commit ad98e30c90f518cbcd896b1fe9e45f2318102db3
147e83
Author: Roland McGrath <roland@hack.frob.com>
147e83
Date:   Wed Jan 9 16:05:32 2013 -0800
147e83
147e83
    Force getconf.speclist to be generated in the others pass.
147e83
147e83
diff --git a/posix/Makefile b/posix/Makefile
147e83
index 1883b71957665f22..a68f0b7d041e65bd 100644
147e83
--- a/posix/Makefile
147e83
+++ b/posix/Makefile
147e83
@@ -284,3 +284,8 @@ $(objpfx)getconf.speclist: getconf-speclist.c posix-envs.def
147e83
 	$(compile.c) -E -o - \
147e83
 	    | sed -n -e '/@@@PRESENT_/s/@@@PRESENT_//p' > $@.new
147e83
 	mv -f $@.new $@
147e83
+
147e83
+# This file is only actually needed at install time.  But forcing it to
147e83
+# be built both makes it available for eyeball inspection and avoids the
147e83
+# surprise of things that look like compilation being done by 'make install'.
147e83
+others: $(objpfx)getconf.speclist