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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to