1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/lsp-plugins/cflags.patch
2022-06-24 00:25:39 +02:00

21 lines
468 B
Diff

see https://github.com/sadko4u/lsp-plugins/issues/257
--- a/make/tools.mk
+++ b/make/tools.mk
@@ -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 \