build CFLAGS are overridden with "-ggdb" only

Bug #1664680 reported by Fabio Valentini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Captive Portal Assistant
Fix Committed
Undecided
Unassigned

Bug Description

The line
> set (CMAKE_C_FLAGS "-ggdb")
in the CMakeLists.txt file overrides all the build system's default CFLAGS, which results in broken + insecure + un-hardened builds that don't respect the operating system's defaults.

Please remove that line, or replace it with someting like
> set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb")
if you _really really_ need the "-ggdb" flag.

Related branches

Changed in capnet-assist:
status: New → Fix Committed
milestone: none → juno-beta1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.