Configure $B$,@8@.$9$k(B CFLAGS/cflags

pegacorn e$B$G$9!#e(B

r16800 e$B$NJQ99$G!"e(Bconfigure e$B$,@8@.$9$ke(B CFLAGS/cflags e$B$,e(B
e$B$h$/$o$+$i$J$$$3$H$K$J$C$F$$$k$N$G$9$,!"e(B
e$B$3$l$O0U?^$7$?F0:n$G$7$g$&$+!)e(B

e$B"!e(Br16800

  • configure.in (CFLAGS, CXXFLAGS): include additional flags to
    CFLAGS and CXXFLAGS while configuration.

e$B!&e(B./configure e$B$H$7$?>l9ge(B

Makefile>
CFLAGS =
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
CPPFLAGS = $(DEFS) ${cppflags}
<<

e$B!&e(B./configure CFLAGS=’-std=c99’ CPPFLAGS=’-std=c99’
e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = -std=c99
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
CPPFLAGS = -std=c99 $(DEFS) ${cppflags}
<<

e$B!&e(B./configure cflags=’-std=c99’ cppflags=’-std=c99’
e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = ${cflags}
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
CPPFLAGS = $(DEFS) ${cppflags}
<<

e$B"!e(Br16799
e$B!&e(B./configure e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = ${cflags}
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
CPPFLAGS = $(DEFS) ${cppflags}
<<

e$B!&e(B./configure CFLAGS=’-std=c99’ CPPFLAGS=’-std=c99’
e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = -std=c99 ${cflags}
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
CPPFLAGS = -std=c99 $(DEFS) ${cppflags}
<<

e$B!&e(B./configure cflags=’-std=c99’ cppflags=’-std=c99’
e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = ${cflags}
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
CPPFLAGS = $(DEFS) ${cppflags}
<<

e$B:#8e$O!"I,?$G$J$$%U%i%0$OA4$F<+J,$G;XDj$7$m$H$$$&$3$H!)e(B

e$B$G$b$=$&$9$k$H!"e(Bcflags e$B$r;D$7$F$$$k0UL#$,$J$$$h$&$J!De(B

From: Nobuyoshi N. [email protected]
Date: Sat, 7 Jun 2008 22:09:52 +0900
Message-Id: [email protected]
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

At Sat, 7 Jun 2008 13:12:05 +0900,
pegacorn wrote in [ruby-dev:34985]:

r16800 e$B$NJQ99$G!"e(Bconfigure e$B$,@8@.$9$ke(B CFLAGS/cflags e$B$,e(B
e$B$h$/$o$+$i$J$$$3$H$K$J$C$F$$$k$N$G$9$,!"e(B
e$B$3$l$O0U?^$7$?F0:n$G$7$g$&$+!)e(B

e$BD>$7$?$D$b$j$G$9!#e(B

e$B3NG’$7$^$7$?!#e(B

e$B!&e(B./configure e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = ${cflags}
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
<<

e$B!&e(B./configure CFLAGS=‘-std=c99’ e$B$H$7$?>l9ge(B

Makefile>
CFLAGS = -std=c99 ${cflags}
cflags = ${optflags} ${debugflags} ${warnflags}
optflags = -O2
debugflags = -g
warnflags = -Wall -Wno-parentheses
<<

e$B$J$+$@$G$9!#e(B

At Sat, 7 Jun 2008 13:12:05 +0900,
pegacorn wrote in [ruby-dev:34985]:

r16800 e$B$NJQ99$G!"e(Bconfigure e$B$,@8@.$9$ke(B CFLAGS/cflags e$B$,e(B
e$B$h$/$o$+$i$J$$$3$H$K$J$C$F$$$k$N$G$9$,!"e(B
e$B$3$l$O0U?^$7$?F0:n$G$7$g$&$+!)e(B

e$BD>$7$?$D$b$j$G$9!#e(B