Fix error when WITH_OPTIMIZED_FLAGS is specified.

PR:		100991
Submitted by:	Masayuki Takemura <ICG04984@nifty.com>
This commit is contained in:
Maho Nakata
2006-08-07 01:40:52 +00:00
parent 3fdb928ef0
commit 9a93aff2da
2 changed files with 8 additions and 0 deletions

View File

@@ -35,7 +35,11 @@ USE_GCC=3.4
# only affects for lapack sub project
.if defined(WITH_OPTIMIZED_FLAGS)
.if defined(CPUTYPE)
FFLAGS+= -mtune=${CPUTYPE} -pipe -O2 -ffast-math -fomit-frame-pointer
.else
FFLAGS+= -pipe -O2 -ffast-math -fomit-frame-pointer
.endif
.endif
post-patch:

View File

@@ -35,7 +35,11 @@ USE_GCC=3.4
# only affects for lapack sub project
.if defined(WITH_OPTIMIZED_FLAGS)
.if defined(CPUTYPE)
FFLAGS+= -mtune=${CPUTYPE} -pipe -O2 -ffast-math -fomit-frame-pointer
.else
FFLAGS+= -pipe -O2 -ffast-math -fomit-frame-pointer
.endif
.endif
post-patch: