[csw-devel] SF.net SVN: gar:[3797] csw/mgar/gar/v2/categories/x11/category.mk
Dagobert Michelsen
dam at opencsw.org
Thu Mar 19 10:48:51 CET 2009
Hi,
Am 18.03.2009 um 09:57 schrieb Maciej Bliziński:
> On Tue, Mar 17, 2009 at 11:44 PM, <wbonnet at users.sourceforge.net>
> wrote:
>> +ifeq ($(GARCOMPILER),GNU)
>
> Can GARCOMPILER be tested for GCC3 and GCC4 as well?
I recommend something like
EXTRA_CFLAGS_GCC3 = ...
EXTRA_CFLAGS_SOS11 = -xlibmil -errtags=yes -erroff=E_EMPTY_DECLARATION
EXTRA_CFLAGS_SOS12 = -xlibmil -errtags=yes -erroff=E_EMPTY_DECLARATION
EXTRA_CXXFLAGS_SOS11 = -xlibmil -xlibmopt -features=tmplife -norunpath
...
CFLAGS += $(EXTRA_CFLAGS_$(GARCOMPILER)
CXXFLAGS += $(EXTRA_CXXFLAGS_$(GARCOMPILER)
There is no GARCOMPILER 'SUN' or 'GCC', see the top of gar.conf.mk:
> GARCOMPILER ?= SUN
>
> # We have parameters for the following compilers
> GARCOMPILERS = GCC3 GCC4 SOS11 SOS12
>
> ifeq ($(GARCOMPILER),SUN)
> GARCOMPILER = SOS11
> endif
>
> ifeq ($(GARCOMPILER),GNU)
> GARCOMPILER = GCC4
> endif
>
> ifeq (,$(filter $(GARCOMPILER),$(GARCOMPILERS)))
> $(error The compiler '$(GARCOMPILER)' is unknown. Please select
> one of $(GARCOMPILERS))
> endif
Best regards
-- Dago
More information about the devel
mailing list