diff options
author | Roland McGrath <roland@redhat.com> | 2010-08-24 11:55:53 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-08-24 11:56:52 -0700 |
commit | 090555538d4347a52807ba9f08cf20ed13206afe (patch) | |
tree | e8ddcd0e24e9c8efe85342caae73c3ba934e6ec0 /posix/Makefile | |
parent | f2ac4868b7b69c32c4de9895b4a1e22b91cc6aa8 (diff) | |
download | glibc-090555538d4347a52807ba9f08cf20ed13206afe.zip glibc-090555538d4347a52807ba9f08cf20ed13206afe.tar.gz glibc-090555538d4347a52807ba9f08cf20ed13206afe.tar.bz2 |
Rejigger header generation for default uname implementation.
Diffstat (limited to 'posix/Makefile')
-rw-r--r-- | posix/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/posix/Makefile b/posix/Makefile index 643d7e5..4f29963 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -139,6 +139,14 @@ $(objpfx)wordexp-tst.out: wordexp-tst.sh $(objpfx)wordexp-test endif endif +# If we will use the generic uname implementation, we must figure out what +# it will say by examining the system, and write the results in config-name.h. +uname.c: $(objpfx)config-name.h +$(objpfx)config-name.h: $(..)scripts/config-uname.sh $(common-objpfx)config.make + $< '$(config-os)' '$(config-release)' \ + '$(config-machine)-$(config-vendor)' > $@.new + mv -f $@.new $@ + CFLAGS-regex.c = -Wno-strict-prototypes CFLAGS-getaddrinfo.c = -DRESOLVER -fexceptions -DUSE_NSCD CFLAGS-pread.c = -fexceptions -fasynchronous-unwind-tables |