mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
need to handle building in a separate directory from where the source is...
This commit is contained in:
parent
cd91948b01
commit
76a7c2d97b
@ -228,12 +228,12 @@ else
|
||||
$(CC) -o $@ -c $(CFLAGS) $<
|
||||
endif
|
||||
|
||||
# An AIX Optimization bug causes PR_dtoa() to produce wrong result.
|
||||
# An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result.
|
||||
# This suppresses optimization for this single compilation unit.
|
||||
ifeq ($(OS_ARCH), AIX)
|
||||
jsdtoa.o:
|
||||
$(OBJDIR)/jsdtoa.o: jsdtoa.c
|
||||
@$(MAKE_OBJDIR)
|
||||
$(CC) -o $@ -c $(filter-out -O, $(CFLAGS)) jsdtoa.c
|
||||
$(CC) -o $@ -c $(filter-out -O, $(CFLAGS)) $<
|
||||
endif
|
||||
|
||||
# ripped from $(topsrcdir)/config/rules.mk
|
||||
|
Loading…
Reference in New Issue
Block a user