* Makeconfig (preprocess-versions): Define ASSEMBLER.
	* stdlib/Makefile (isomac-CFLAGS): Define to -O.
	* posix/Makefile (annexc-CFLAGS): Define to -O.
This commit is contained in:
Ulrich Drepper 2001-09-12 18:50:25 +00:00
parent d322efa8e5
commit e69924e348
5 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,9 @@
2001-09-12 Ulrich Drepper <drepper@redhat.com>
* config.h.in: Enforce optimization to be used.
* Makeconfig (preprocess-versions): Define ASSEMBLER.
* stdlib/Makefile (isomac-CFLAGS): Define to -O.
* posix/Makefile (annexc-CFLAGS): Define to -O.
2001-09-11 Ulrich Drepper <drepper@redhat.com>

View File

@ -737,7 +737,7 @@ define preprocess-versions
sed '/^[ ]*#/d;s/^[ ]*%/#/' \
| $(CC) -E -undef -I$(common-objdir) -I$(..)include \
-include $(common-objpfx)config.h \
-x assembler-with-cpp - \
-DASSEMBLER -x assembler-with-cpp - \
| sed '/^[ ]*#/d;/^[ ]*$$/d'
endef

View File

@ -1,4 +1,4 @@
#ifndef __OPTIMIZE__
#if !defined ASSEMBLER && !defined _ISOMAC && !defined __OPTIMIZE__
# error "glibc cannot be compiled without optimization"
#endif

View File

@ -150,6 +150,7 @@ $(objpfx)annexc.out: $(objpfx)annexc
-$(dir $<)$(notdir $<) '$(CC)' \
'-I../include -I.. $(+sysdep-includes) $(sysincludes)' > $@
annexc-CFLAGS = -O
$(objpfx)annexc: annexc.c
$(native-compile)

View File

@ -160,6 +160,7 @@ $(objpfx)isomac.out: $(objpfx)isomac
$(dir $<)$(notdir $<) '$(CC)' \
'-I../include -I.. $(+sysdep-includes) $(sysincludes)' > $<.out
isomac-CFLAGS = -O
$(objpfx)isomac: isomac.c
$(native-compile)