Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7bae20

Browse files
committed
Don't bother adding to cflags/cppflags, just set them because configure
handles that, and make solaris debug use no optimization.
1 parent22c21ba commitf7bae20

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

‎src/template/aix‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
if test "$GCC" != yes ; then
22
case $host_os in
33
aix3.2.5 | aix4.1*)
4-
CFLAGS="$CFLAGS-O -qmaxmem=16384 -qsrcmsg"
4+
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
55
;;
66
*)
7-
CFLAGS="$CFLAGS-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
7+
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
88
;;
99
esac
1010
fi

‎src/template/freebsd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
case $host_cpu in
2-
alpha*) CFLAGS="$CFLAGS-O";; # alpha has problems with -O2
2+
alpha*) CFLAGS="-O";; # alpha has problems with -O2
33
esac

‎src/template/hpux‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
CPPFLAGS="$CPPFLAGS-D_XOPEN_SOURCE_EXTENDED"
1+
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
22

33
if test "$GCC" != yes ; then
44
CC="$CC -Ae"
5-
CFLAGS="$CFLAGS+O2"
5+
CFLAGS="+O2"
66
fi
77

88
# Pick right test-and-set (TAS) code. We need out-of-line assembler

‎src/template/linux‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
2-
CPPFLAGS="$CPPFLAGS-D_GNU_SOURCE"
2+
CPPFLAGS="-D_GNU_SOURCE"

‎src/template/osf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
if test "$GCC" != yes ; then
22
CC="$CC -std"
3-
CFLAGS="$CFLAGS-O -ieee"
3+
CFLAGS="-O -ieee"
44
fi

‎src/template/solaris‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
if test "$GCC" != yes ; then
22
CC="$CC -Xa"# relaxed ISO C mode
3-
CFLAGS="$CFLAGS -O -v"# -v is like gcc -Wall
3+
CFLAGS="-v"# -v is like gcc -Wall
4+
if test "$enable_debug" != yes; then
5+
CFLAGS="$CFLAGS -O"# any optimization breaks debug
6+
fi
47
fi
58

69
# Pick right test-and-set (TAS) code. We need out-of-line assembler

‎src/template/univel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
CFLAGS="$CFLAGS-v -O -K i486,host,inline,loop_unroll -Dsvr4"
1+
CFLAGS="-v -O -K i486,host,inline,loop_unroll -Dsvr4"
22
LIBS="-lc89"

‎src/template/unixware‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ void g(void){
1313
__EOF__
1414

1515
if $CC -c -O -Kinline conftest.c >conftest.err 2>&1; then
16-
CFLAGS="$CFLAGS-O -Kinline"
16+
CFLAGS="-O -Kinline"
1717
else
18-
CFLAGS="$CFLAGS-O -Kinline,no_host"
18+
CFLAGS="-O -Kinline,no_host"
1919
fi
2020
rm -f conftest.*
2121

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp