[med-svn] [Git][med-team/gjh-asl-json][master] Better way to propagate CFLAGS and LDFLAGS
Andreas Tille
gitlab at salsa.debian.org
Mon Oct 5 22:01:45 BST 2020
Andreas Tille pushed to branch master at Debian Med / gjh-asl-json
Commits:
ddae1c1b by Andreas Tille at 2020-10-05T23:01:17+02:00
Better way to propagate CFLAGS and LDFLAGS
- - - - -
1 changed file:
- debian/patches/fix-makefile-lib.patch
Changes:
=====================================
debian/patches/fix-makefile-lib.patch
=====================================
@@ -20,11 +20,11 @@ Description: fix Makefile link to libamplsolver.
COVERAGE=-O3
-CINC=-I$(SRC) -I$(TPL)/solvers
-+CINC=-I$(SRC) -I$(LIB) -I$(INC_DIR)
-CFLAGS= -pipe -DASL_BUILD -fPIC -DPIC -Wall
-+CFLAGS= -g -pipe -DASL_BUILD -fPIC -DPIC -Wall -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2
-LDFLAGS=-ldl
-+LDFLAGS=-Wl,-z,relro -ldl
++CINC=-I$(SRC) -I$(LIB) -I$(INC_DIR)
++CFLAGS+= -pipe -DASL_BUILD -fPIC -DPIC -Wall
++LDFLAGS+=-ldl
-all: $(TPL)/solvers/amplsolver.a \
- $(BIN)/gjh_asl_json
View it on GitLab: https://salsa.debian.org/med-team/gjh-asl-json/-/commit/ddae1c1baced595d4a3a23400ee715d79ddd38fe
--
View it on GitLab: https://salsa.debian.org/med-team/gjh-asl-json/-/commit/ddae1c1baced595d4a3a23400ee715d79ddd38fe
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201005/d5abdbef/attachment.html>
More information about the debian-med-commit
mailing list