]> git.pld-linux.org Git - packages/Firebird.git/blob - cloop-honour-build-flags.patch
add pkgconfig patch; add fb_config wrapper (from fedora)
[packages/Firebird.git] / cloop-honour-build-flags.patch
1 Description: make cloop build honor compiler/linker flags from the environment
2 Author: Damyan Ivanov <dmn@debian.org>
3 Forwarded: no
4
5 --- a/extern/cloop/Makefile
6 +++ b/extern/cloop/Makefile
7 @@ -6,7 +6,7 @@ TARGET  := release
8  
9  CC     := gcc
10  CXX    := g++
11 -LD     := $(CXX)
12 +LD     := $(CXX) $(LDFLAGS)
13  
14  SRC_DIR                := src
15  BUILD_DIR      := build
16 @@ -27,8 +27,9 @@ SRCS_CPP := $(foreach sdir,$(SRC_DIRS),$
17  OBJS_C := $(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(SRCS_C))
18  OBJS_CPP := $(patsubst $(SRC_DIR)/%.cpp,$(OBJ_DIR)/%.o,$(SRCS_CPP))
19  
20 -C_FLAGS := -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter
21 -CXX_FLAGS := $(C_FLAGS)
22 +COMMON_C_FLAGS := -ggdb -fPIC -MMD -MP -W -Wall -Wno-unused-parameter
23 +C_FLAGS := $(COMMON_C_FLAGS) $(CFLAGS) $(CPPFLAGS)
24 +CXX_FLAGS := $(COMMON_C_FLAGS) $(CXXFLAGS) $(CPPFLAGS)
25  FPC_FLAGS := -Mdelphi
26  
27  ifeq ($(TARGET),release)
This page took 0.022413 seconds and 3 git commands to generate.