Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 757282 | Differences between
and this patch

Collapse All | Expand All

(-)Firebird-4.0.0.2496-0/builds/posix/Makefile.in (-6 / +6 lines)
Lines 164-176 Link Here
164
#
164
#
165
165
166
external:
166
external:
167
	$(MAKE) -C $(ROOT)/extern/btyacc
167
	$(MAKE) -C $(ROOT)/extern/btyacc CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
168
	$(MAKE) -C $(ROOT)/extern/cloop TARGET=release WITH_FPC=0 BUILD_DIR=$(TMP_ROOT)/cloop OUT_DIR=$(GEN_ROOT)/$(TARGET)/cloop
168
	$(MAKE) -C $(ROOT)/extern/cloop TARGET=release WITH_FPC=0 BUILD_DIR=$(TMP_ROOT)/cloop OUT_DIR=$(GEN_ROOT)/$(TARGET)/cloop CXX="$(CXX)" CXXFLAGS="$(OPTIMIZE_FLAGS)" CFLAGS="${CFLAGS}" CC="${CC}" LDFLAGS="$(LDDFLAGS)"
169
169
170
	$(MAKE) -C $(ROOT)/extern/decNumber
170
	$(MAKE) -C $(ROOT)/extern/decNumber CC="${CC}" CFLAGS="${CFLAGS}"
171
	ln -sf $(ROOT)/extern/decNumber/libdecFloat.a $(LIB)
171
	ln -sf $(ROOT)/extern/decNumber/libdecFloat.a $(LIB)
172
172
173
	CXXFLAGS="-O3 -g -fPIC" $(MAKE) -C $(ROOT)/extern/re2
173
	CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) -fPIC" $(MAKE) -C $(ROOT)/extern/re2
174
	ln -sf $(ROOT)/extern/re2/obj/libre2.a $(LIB)
174
	ln -sf $(ROOT)/extern/re2/obj/libre2.a $(LIB)
175
175
176
ifeq ($(TOMMATH_BUILD_FLG),Y)
176
ifeq ($(TOMMATH_BUILD_FLG),Y)
Lines 653-660 Link Here
653
	$(EXE_LINK) $(EXE_LINK_OPTIONS) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) $(LINK_LIBS) $(call LINK_DARWIN_RPATH,..)
653
	$(EXE_LINK) $(EXE_LINK_OPTIONS) $^ -o $@ $(FIREBIRD_LIBRARY_LINK) $(LINK_LIBS) $(call LINK_DARWIN_RPATH,..)
654
654
655
examples: include_generic
655
examples: include_generic
656
	$(MAKE) -f Makefile.examples -C $(GEN_ROOT)/examples/
656
	$(MAKE) -f Makefile.examples -C $(GEN_ROOT)/examples/ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
657
	$(MAKE) -f Makefile.plugins_examples
657
	$(MAKE) -f Makefile.plugins_examples CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
658
658
659
message_file:	$(FIREBIRD_MSG)
659
message_file:	$(FIREBIRD_MSG)
660
660
(-)Firebird-4.0.0.2496-0/extern/cloop/Makefile (-2 / +2 lines)
Lines 54-63 Link Here
54
54
55
define compile
55
define compile
56
$1/%.o: %.c
56
$1/%.o: %.c
57
	$(CC) -c $$(C_FLAGS) $$< -o $$@
57
	$(CC) -c $$(CFLAGS) -fPIC $$< -o $$@
58
58
59
$1/%.o: %.cpp
59
$1/%.o: %.cpp
60
	$(CXX) -c $$(CXX_FLAGS) $$< -o $$@
60
	$(CXX) -c $$(CXXFLAGS) -fPIC $$< -o $$@
61
endef
61
endef
62
62
63
.PHONY: all mkdirs clean
63
.PHONY: all mkdirs clean
(-)Firebird-4.0.0.2496-0/extern/decNumber/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
2
3
$(LIBRARY):		$(wildcard *.c) $(wildcard *.h) Makefile
3
$(LIBRARY):		$(wildcard *.c) $(wildcard *.h) Makefile
4
	$(RM) -f *.o
4
	$(RM) -f *.o
5
	$(CC) $(CROSS_FLAGS) -c -O3 -fPIC $(subst decCommon.c,,$(subst decBasic.c,,$(wildcard *.c)))
5
	$(CC) $(CROSS_FLAGS) -c ${CFLAGS} -fPIC $(subst decCommon.c,,$(subst decBasic.c,,$(wildcard *.c)))
6
	$(AR) crs $(LIBRARY) *.o
6
	$(AR) crs $(LIBRARY) *.o
7
	$(RM) -f *.o
7
	$(RM) -f *.o
8
8

Return to bug 757282