|
From: | Riccardo Mottola |
Subject: | Re: GNUmakefile CXX flags ignored |
Date: | Fri, 16 Aug 2013 23:59:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0 SeaMonkey/2.19 |
Hi, David Chisnall wrote:
Yes, it is incorrect. In this case it doesn't harm and, perhaps, I can add or I need to duplicate them. -I flags should not be CFLAGS I suppose, but CPPFLAGS, which are traditionally shared.On 16 Aug 2013, at 22:34, Riccardo Mottola <riccardo.mottola@libero.it> wrote:Anyway, what happens is that the CC file is compiled using CLFAGS and not the CXXFLAGS.The compiling with CFLAGS is also a bug, as C-compiler flags (e.g. -std=c99) are often invalid for C++. I've hit this problem before.
Anyway, the bigger problem is that CXXFLAGS are being ignored. And the even bigger problem is the whole thing not working on clang ;) Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |