Bug 54498

Summary: When entering multiple options in CXXFLAGS I have to put quotation marks in.
Product: [Applications] kdevelop Reporter: Barry Stokes <barry>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Barry Stokes 2003-02-11 21:20:07 UTC
Version:           Alpha 3 (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          GCC 3.2.1 
OS:          Linux

When changing the options for "Compiler flags (CXXFLAGS)"  (in Project->Project Options->Configure Options->C++) if you enter more than one item, or anything with spaces in it, then you have to enclose the whole thing with quotation marks (") or else configure dies. It seems that it is setting CXXFLAGS on the command line without quotes and is causing it to interpret the meaning of what it written incorrectly.
Comment 1 Barry Stokes 2003-02-11 21:23:34 UTC
Oops... Forgot to add this: 
 
As a quick illustration as to what happens, just clicking a few options gave me 
CXXFLAGS of -ffloat-store -fforce-addr -fforce-mem -fno-defer-pop 
 
and the configure ran and said: 
cd /home/barry/Third_Year_Project/virtualvivarium && CXXFLAGS=-ffloat-store 
-fforce-addr -fforce-mem -fno-defer-pop 
/home/barry/Third_Year_Project/virtualvivarium/configure  
* /bin/sh: line 1: -fforce-addr: command not found  
* *** Exited with status: 127 *** 
Comment 2 Caleb Tennis 2003-02-23 19:34:39 UTC
Fixed in CVS.