File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,14 @@ include /usr/share/dpkg/default.mk
77
88# The build system doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to
99# enable the missing (hardening) flags
10- DEB_CFLAGS_MAINT_APPEND = -MMD -Wall $(shell dpkg-buildflags --get CPPFLAGS) -Wno-error=array-bounds $(warning WARNING: Building with -Wno-error=array-bounds)
10+ # Added no-deprecated-declarations use-after-free and no-discarded-qualifiers
11+ # to resolve the compile errors with bookworm. There are deprecated APIs with
12+ # openssl 3.0 which are used by wpa supplicant. We can remove those flags when
13+ # there are solutions ready.
14+ DEB_CFLAGS_MAINT_APPEND = -MMD -Wall $(shell dpkg-buildflags --get CPPFLAGS) -Wno-error=array-bounds $(warning WARNING: Building with -Wno-error=array-bounds) \
15+ -Wno-deprecated-declarations $(warning WARNING: Building with -Wno-deprecated-declarations) \
16+ -Wno-use-after-free $(warning WARNING: Building with -Wno-use-after-free) \
17+ -Wno-discarded-qualifiers $(warning WARNING: Building with -Wno-discarded-qualifiers)
1118DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
1219DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
1320export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
You can’t perform that action at this time.
0 commit comments