1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Index: railcontrol/Makefile
===================================================================
--- railcontrol.orig/Makefile 2025-11-22 14:52:24.719817885 +0100
+++ railcontrol/Makefile 2025-11-23 12:22:38.112207178 +0100
@@ -1,9 +1,10 @@
RAILCONTROL_VERSION := 24
-CXXFLAGS=-I. -g -O2 -Wall -Wextra -pedantic -Werror -Wno-missing-braces -std=c++11 -D_GNU_SOURCE
+CXXFLAGS+=-I. -Wall -Wextra -pedantic -Werror -Wno-missing-braces -std=c++11 -D_GNU_SOURCE
+CXXFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS)
CXXFLAGSAMALGAMATION=-I. -g -O2 -Wall -Wextra -pedantic -Werror -Wno-missing-braces -std=c++11
-LDFLAGS=-g
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
LIBS=-lpthread -ldl -lz -lsqlite3
LIBSAMALGAMATION=-lpthread -ldl
|