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

Commit7185455

Browse files
committed
Make template CFLAGS handling consistent.
1 parent1dad866 commit7185455

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

‎src/template/aix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
if test "$GCC" = yes ; then
2-
CFLAGS='-O2 -pipe'
3-
else # not GCC
4-
CFLAGS='-O2 -qmaxmem=16384 -qsrcmsg -qlonglong'
2+
CFLAGS="$CFLAGS -pipe"
3+
else
54
case $host_os in
6-
aix3.2.5 | aix4.1*)
7-
CFLAGS='-qmaxmem=16384 -qsrcmsg';;
5+
aix3.2.5 | aix4.1*) ;;
6+
*)CFLAGS="$CFLAGS -O2 -qlonglong";;
87
esac
9-
fi # not GCC
8+
CFLAGS="$CFLAGS -qmaxmem=16384 -qsrcmsg"
9+
fi

‎src/template/cygwin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SRCH_LIB='/usr/local/lib'
1+
SRCH_LIB="/usr/local/lib"

‎src/template/freebsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CFLAGS="$CFLAGS -pipe"
22

33
case $host_cpu in
4-
alpha*) CFLAGS="$CFLAGS -O";;
4+
alpha*) CFLAGS="$CFLAGS -O";; # alpha has problems with -O2
55
esac
66

77
THREAD_SUPPORT=yes

‎src/template/hpux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
22

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

‎src/template/osf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if test "$GCC" != yes ; then
22
CC="$CC -std"
3-
CFLAGS='-O4 -Olimit 2000'
3+
CFLAGS="$CFLAGS-O4 -Olimit 2000"
44
fi
55

66
THREAD_SUPPORT=yes

‎src/template/solaris

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if test "$GCC" != yes ; then
22
CC="$CC -Xa"# relaxed ISO C mode
3-
CFLAGS="-O -v"# -v is like gcc -Wall
3+
CFLAGS="$CFLAGS-O -v"# -v is like gcc -Wall
44
fi
55

66
THREAD_SUPPORT=yes

‎src/template/univel

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

‎src/template/unixware

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ else
44
# the -Kno_host is temporary for a bug in the compiler. See -hackers
55
# discussion on 7-8/Aug/2003.
66
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
7-
CFLAGS='-O -Kinline,no_host'
7+
CFLAGS="$CFLAGS-O -Kinline,no_host"
88
THREAD_CPPFLAGS="-K pthread"
99
fi
1010

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp