]> git.pld-linux.org Git - packages/Firebird.git/blob - cloop-honour-build-flags.patch
- updated to 4.0.4.3010
[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 --- Firebird-4.0.4.3010-0/extern/cloop/Makefile.orig    2023-11-08 13:07:47.000000000 +0100
6 +++ Firebird-4.0.4.3010-0/extern/cloop/Makefile 2023-12-20 11:25:08.527689312 +0100
7 @@ -6,7 +6,7 @@
8  
9  CC     := $(CC)
10  CXX    := $(CXX)
11 -LD     := $(CXX)
12 +LD     := $(CXX) $(LDFLAGS)
13  
14  SRC_DIR                := src
15  BUILD_DIR      := build
16 @@ -27,8 +27,9 @@
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) -std=c++11
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) -std=c++11
25  FPC_FLAGS := -Mdelphi -Cg
26  
27  ifeq ($(shell uname),FreeBSD)
This page took 0.151743 seconds and 3 git commands to generate.