build CFLAGS are overridden with "-ggdb" only
Bug #1664680 reported by
Fabio Valentini
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
lp:~decathorpe/capnet-assist/fix-1664680
- Neal Gompa (community): Approve
- David Hewitt: Approve (code, function)
- elementary Apps team: Pending requested
-
Diff: 10 lines (+0/-1)1 file modifiedCMakeLists.txt (+0/-1)
Changed in capnet-assist: | |
status: | New → Fix Committed |
milestone: | none → juno-beta1 |
To post a comment you must log in.