Setting compilation parameter for qt within portfile

Nicolas Pavillon nicos at macports.org
Fri Dec 2 00:02:50 PST 2011


Hello, 

The question I would like to ask is related to ticket #30761 (https://trac.macports.org/ticket/30761), in which it appears that compilation of qtiplot hangs on Lion, and that changing optimizations options from -O2 to -O0 solves the problem. 

The issue is that I tried to change this option at Portfile level, but whatever I could try to adjust flags, the qmake command generates a QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS variable which defines -O2. 
Would someone know how to setup flags correctly to set up correctly this parameter ?

Thanks in advance, 

Nicolas


More information about the macports-dev mailing list