Made compilation of *.spec.c files use -fno-builtin regardless of

where they are.
This commit is contained in:
Patrik Stridvall 1999-07-31 14:45:22 +00:00 committed by Alexandre Julliard
parent 26ffb3cd76
commit 0691a59736
2 changed files with 6 additions and 2 deletions

View File

@ -77,11 +77,15 @@ OBJS = $(C_SRCS:.c=.o) $(GEN_ASM_SRCS:.s=.o) $(ASM_SRCS:.S=.o) $(RC_SRCS:.rc=.o)
# Implicit rules # Implicit rules
.SUFFIXES: .rc .res .spec .spec.c .glue.s .SUFFIXES:
.SUFFIXES: .rc .res .spec .spec.c .spec.o .glue.s $(SUFFIXES)
.c.o: .c.o:
$(CC) -c $(ALLCFLAGS) -o $*.o $< $(CC) -c $(ALLCFLAGS) -o $*.o $<
.spec.c.spec.o:
$(CC) -c $(ALLCFLAGS) @GCC_NO_BUILTIN@ -o $*.spec.o $<
.s.o: .s.o:
$(AS) -o $*.o $< $(AS) -o $*.o $<

View File

@ -1,4 +1,4 @@
DEFS = @DLLFLAGS@ @GCC_NO_BUILTIN@ -D__WINE__ DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = .. TOPOBJDIR = ..
SRCDIR = @srcdir@ SRCDIR = @srcdir@