forked from SDL-Hercules-390/hyperion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JAP compiler optimization flags fix by Fish
git-svn-id: file:///home/jj/hercules.svn/trunk@1785 956126f8-22a0-4046-8f4a-272fa8102e63
- Loading branch information
Fish (David B Trout)
committed
Aug 19, 2003
1 parent
f353d32
commit 2b3afeb
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# HC_PROG_CC | ||
# -------------------------------------------------------------------- | ||
# AC_PROG_CC (actually _AC_PROC_CC_G) takes it upon itself to | ||
# put "-g -O2" in CFLAGS. While this may be good for most packages | ||
# using autoconf, we have our own "optimize" function that this | ||
# interferes with. | ||
# | ||
# Notes: AC_BEFORE will emit a warning of AC_PROG_CC was expanded | ||
# prior to this macro, just in case something gets put in | ||
# configure.ac before us. | ||
# AC_REQUIRE will expand AC_PROG_CC for us. | ||
# | ||
AC_DEFUN([HC_PROG_CC], | ||
[ AC_BEFORE([HC_PROG_CC],[AC_PROG_CC]) | ||
AC_REQUIRE([AC_PROG_CC]) | ||
# Restore the saved CFLAGS from autoconf invocation | ||
CFLAGS=$ac_env_CFLAGS_value | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters