Ticket 10609

Summary: Compile parameters "-g -O0" cannot take effect
Product: Slurm Reporter: zhangtao102019 <zhangtao102019>
Component: Build System and PackagingAssignee: Tim Wickberg <tim>
Status: OPEN --- QA Contact:
Severity: C - Contributions    
Priority: ---    
Version: 20.11.2   
Hardware: Linux   
OS: Linux   
Site: -Other- Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: -g -O0 cannot take effect

Description zhangtao102019@126.com 2021-01-11 17:30:01 MST
Created attachment 17419 [details]
-g -O0 cannot take effect

hi,
I tested the latest version of the slurm v20.11.2, i found an issue. 
When i specified  CFLAGS="-g -O0" as parameter of ./configure, it cannot take effect. 
I found that this problem can be solved by modifying the two line of the "configure" script. See the attachment patch for details.

Is there any problem in this way? and can it be merged into the trunk?