On Thursday 25 March 2010 20:18:24 CeDeROM wrote:
> Hello Hugo!
> 
> On Thu, Mar 25, 2010 at 11:00 PM, Hugo Parente Lima
> 
> <[email protected]> wrote:
> >> Scanning dependencies of target pyside
> >> [  0%] Building CXX object
> >> libpyside/CMakeFiles/pyside.dir/dynamicqmetaobject.cpp.o
> >> c++: -O1: linker input file unused because linking not done
> >> c++: --hash-style=gnu: linker input file unused because linking not done
> >> [  0%] Building CXX object
> >> libpyside/CMakeFiles/pyside.dir/signalmanager.cpp.o c++: -O1: linker
> >> input file unused because linking not done
> > 
> > This problem seems to be related with the compiler flags we are using.
> > Try to remove/comment the line #7 of CMakeLists.txt and try again.
> > 
> > The line contents is:
> > set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1
> > -Wl,--hash-style=gnu - Wno-strict-aliasing -fvisibility=hidden")
> 
> I have removed the linker flags only and it looks that it works (it
> still builds now, but it looks the same as with the whole line
> commented out):
> 
> set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wno-strict-aliasing
> -fvisibility=hidden")

Ok, now the next step... find a *non verbose* way to set these flags only when 
compiling on linux and under GCC.
 
> Soon I will let you know the result, thank you! :-)
> 
> Best regards,
> Tomek

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to