Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
authorRoland McGrath <roland@gnu.org>
Sun, 23 Jun 1996 01:30:10 +0000 (01:30 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 23 Jun 1996 01:30:10 +0000 (01:30 +0000)
* sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
only when building ELF version of library.

sysdeps/alpha/Makefile

index a9f12d1..6aaedea 100644 (file)
@@ -30,7 +30,9 @@ endif # gnulib
 
 ifeq ($(subdir),elf)
 # The ld.so code cannot use literals until it self-relocates.
+ ifeq ($(elf),yes)
 CFLAGS-rtld.c = -mbuild-constants
+ endif
 # The rest of ld.so shouldn't use FP regs for block moves so
 # that the lazy link trampoline doesn't have to save them.
 sysdep-CFLAGS += -mno-fp-regs