[aur-general] cmake build
Bernhard Walle
bernhard at bwalle.de
Sat Aug 28 14:22:57 EDT 2010
Hi,
Am 28.08.2010 19:17, schrieb Nathan O:
>>
>> Here is the pkg file:
> http://www.mediafire.com/file/of1b1v48rlwkn72/fqterm-0.9.6.8-2-i686.pkg.tar.xz
Ok, I took a look at the project. The problem is that the source code
uses __FILE__ and gcc uses the full path of __FILE__ if not called in
the same directory. So
gcc -c bla.c # (1)
produces __FILE__ as 'bla.c' while
gcc -o /home/bwalle/bla.o /home/bwalle/bla.c # (2)
produces __FILE__ as '/home/bwalle/bla.c'.
Since the build system uses a main CMakeLists.txt instead of split
CMakeLists.txt in the source files gcc gets called the way (1).
I would just ignore the warning, but if you really care, you chould
change the build system. Or simply replace __FILE__ by "".
HTH.
Regards,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20100828/818902a0/attachment.bin>
More information about the aur-general
mailing list