contrib/lsp-plugins/lsp-plugins-1.2.2-default_make_flags.patch

22 lines
528 B
Diff

diff -ruN a/make/tools.mk b/make/tools.mk
--- a/make/tools.mk 2022-06-23 00:18:02.677549495 +0200
+++ b/make/tools.mk 2022-06-23 13:14:21.572315661 +0200
@@ -110,7 +110,7 @@
endif
# Define flags for (cross) build
-CFLAGS ?= \
+CFLAGS += \
$(CFLAGS_EXT) \
-fdata-sections \
-ffunction-sections \
@@ -120,7 +120,7 @@
CDEFS += -DLSP_INSTALL_PREFIX=\\\"$(PREFIX)\\\"
-CXXFLAGS ?= \
+CXXFLAGS += \
$(CXXFLAGS_EXT) \
-std=c++98 \
-fno-exceptions \