mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
New cflags organization
Copied from Perforce Change: 19179 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
c3183a0f4e
commit
3661323c32
2 changed files with 18 additions and 32 deletions
|
|
@ -1,36 +1,27 @@
|
|||
# impl.gmk.ic: GNUMAKEFILE FRAGMENT FOR IRIX 6 CC (N32 or N64 ABI)
|
||||
#
|
||||
# $HopeName: MMsrc!i6cc.gmk(trunk.2) $
|
||||
# Copyright (C) 1996, 1997 Harlequin Group, all rights reserved
|
||||
# $HopeName: MMsrc!i6cc.gmk(trunk.3) $
|
||||
# Copyright (C) 1996, 1997, 1998 Harlequin Group, all rights reserved
|
||||
#
|
||||
# This file is included by platform makefiles that use the IRIX 6 CC
|
||||
# compiler. It defines the compiler specific variables that the
|
||||
# common makefile fragment (impl.gmk.comm) requires.
|
||||
|
||||
|
||||
# We need a symbol for a non-empty definition with empty value
|
||||
ifdef MPS_EMPTY
|
||||
error "gc.gmk: MPS_EMPTY defined"
|
||||
endif
|
||||
|
||||
|
||||
CC = cc
|
||||
|
||||
|
||||
# suppress remark(1209): 'controlling expression is constant'
|
||||
# because it occurs in 'while(0)' and statically determined checks
|
||||
# suppress remark(1552): 'variable "foo" was set but never used'
|
||||
# (e.g. variables only used in asserts)
|
||||
# can't use -pedantic because Irix header files have #ident
|
||||
|
||||
# suppress remark(1209):
|
||||
# 'controlling expression is constant'
|
||||
# because it occurs in 'while(0)' and statically determined checks
|
||||
#
|
||||
# suppress remark(1552):
|
||||
# 'variable "foo" was set but never used'
|
||||
# (e.g. variables only used in asserts)
|
||||
|
||||
CFLAGSCOMPILER = -ansi -fullwarn -diag_error 1000-9999 -diag_suppress 1209,1552
|
||||
CFLAGSINTERNAL = -g
|
||||
CFLAGSEXTERNAL = $(MPS_EMPTY)
|
||||
CFLAGSHOT = -O
|
||||
CFLAGSCOOL = $(MPS_EMPTY)
|
||||
CFLAGSCOMPILER = -ansi -fullwarn -w2 -diag_error 1000-9999 \
|
||||
-diag_suppress 1209,1552
|
||||
CFLAGSDEBUG = -g
|
||||
CFLAGSOPT = -O -g3
|
||||
CFLAGSOPTNODEBUG = -O
|
||||
|
||||
|
||||
include comm.gmk
|
||||
|
|
|
|||
|
|
@ -1,22 +1,17 @@
|
|||
# impl.gmk.sc: GNUMAKEFILE FRAGMENT FOR SunPro C
|
||||
#
|
||||
# $HopeName: MMsrc!sc.gmk(trunk.2) $
|
||||
# $HopeName: MMsrc!sc.gmk(trunk.3) $
|
||||
#
|
||||
# This file is included by platform makefiles that use the SunPro C
|
||||
# compiler. It defines the compiler specific variables that the
|
||||
# common makefile fragment (impl.gmk.comm) requires. See builder.sc for
|
||||
# common makefile fragment (impl.gmk.comm) requires. See builder.sc for
|
||||
# discussion of the various flags.
|
||||
|
||||
# We need a symbol for a non-empty defintion with empty value
|
||||
ifdef MPS_EMPTY
|
||||
error "dc.gmk: MPS_EMPTY defined"
|
||||
endif
|
||||
|
||||
CC = /opt/SUNWspro/SC4.0/bin/cc
|
||||
CFLAGSCOMPILER = -v -Xc
|
||||
CFLAGSHOT = -O
|
||||
CFLAGSCOOL = $(MPS_EMPTY)
|
||||
CFLAGSINTERNAL = -g
|
||||
CFLAGSEXTERNAL = $(MPS_EMPTY)
|
||||
CFLAGSDEBUG = -g
|
||||
# Note that combining -O and -g won't work on HP-UX
|
||||
CFLAGSOPT = -O -g
|
||||
CFLAGSOPTNODEBUG = -O
|
||||
|
||||
include comm.gmk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue