sci-misc/boinc-wrapper: fix cflags

Also don't link C++ stdlib statically and mark implicit decls.

Closes: https://bugs.gentoo.org/887995
Closes: https://bugs.gentoo.org/904138
Closes: https://bugs.gentoo.org/922046
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2024-10-11 02:02:56 +05:00
parent 1a97cd3f40
commit 4e094406d5
2 changed files with 39 additions and 10 deletions

View File

@@ -0,0 +1,13 @@
Bug: https://bugs.gentoo.org/904138
--- a/samples/wrapper/Makefile
+++ b/samples/wrapper/Makefile
@@ -22,7 +22,7 @@ else
MAKEFILE_STDLIB = libstdc++.a
endif
-CXXFLAGS += -g -O0 \
+CXXFLAGS += \
-Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fno-common \
-I$(BOINC_DIR) \
-I$(BOINC_LIB_DIR) \