]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 10 Dec 1998 10:19:59 +0000 (10:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 10 Dec 1998 10:19:59 +0000 (10:19 +0000)
1998-12-10  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/Makefile: Call rpcgen program which -Y parameter so that
it can find the preprocessor.

ChangeLog
sunrpc/Makefile

index 76eea4506d5722b1e62ad168980ca4374d94ba82..fba783985a8fd0b585a2682064d170f1bdfe012c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
+       it can find the preprocessor.
+
 1998-12-09  Geoff Keating  <geoffk@ozemail.com.au>
 
        * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
index 5ab9fb59410f96c74e4bc48029a735cce262c7a6..a8003d97bdae70acb46825b4c6fb76aca2ec788e 100644 (file)
@@ -149,7 +149,7 @@ $(rpcsvc:%.x=$(objpfx)rpcsvc/%.h): $(objpfx)rpcsvc/%.h: $(objpfx)rpcsvc/%.stmp
 $(objpfx)rpcsvc/%.stmp: rpcsvc/%.x $(objpfx)rpcgen
        $(make-target-directory)
        -@rm -f ${@:stmp=T} $@
-       $(rpcgen-cmd) -h $< -o ${@:stmp=T}
+       $(rpcgen-cmd) -Y `$(CC) -print-file-name=.` -h $< -o ${@:stmp=T}
        $(move-if-change) $(@:stmp=T) $(@:stmp=h)
        touch $@
 
@@ -158,7 +158,7 @@ $(rpcsvc:%.x=$(objpfx)x%.c): $(objpfx)x%.c: $(objpfx)x%.stmp
        @:
 $(objpfx)x%.stmp: rpcsvc/%.x $(objpfx)rpcgen
        -@rm -f ${@:stmp=T} $@
-       $(rpcgen-cmd) -c $< -o ${@:stmp=T}
+       $(rpcgen-cmd) -Y `$(CC) -print-file-name=.` -c $< -o ${@:stmp=T}
        $(move-if-change) $(@:stmp=T) $(@:stmp=c)
        touch $@