Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1b7a55f9
Commit
1b7a55f9
authored
Mar 25, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print compiler version
Optimize for pentiumpro for RPM's.
parent
93948645
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
Build-tools/Do-rpm
Build-tools/Do-rpm
+2
-2
configure.in
configure.in
+14
-0
No files found.
Build-tools/Do-rpm
View file @
1b7a55f9
...
...
@@ -153,9 +153,9 @@ set -x
# Check environment
export MYSQL_BUILD_PATH="/usr/local/bin:/my/gnu/bin:/usr/bin:/bin"
export MYSQL_BUILD_CFLAGS="-O6 -fno-omit-frame-pointer -m
pentium
"
export MYSQL_BUILD_CFLAGS="-O6 -fno-omit-frame-pointer -m
cpu=pentiumpro
"
export MYSQL_BUILD_CXXFLAGS="-O6 -fno-omit-frame-pointer
\
-felide-constructors -fno-exceptions -fno-rtti -m
pentium
"
-felide-constructors -fno-exceptions -fno-rtti -m
cpu=pentiumpro
"
gcc -v
# Make RPM
...
...
configure.in
View file @
1b7a55f9
...
...
@@ -126,6 +126,20 @@ AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
# Print version of CC and CXX compiler (if they support --version)
CC_VERSION
=
`
$CC
--version
`
if
test
$?
-eq
"0"
then
AC_MSG_CHECKING
(
"C Compiler version of
$CC
"
)
;
AC_MSG_RESULT
(
$CC_VERSION
)
fi
CXX_VERSION
=
`
$CXX
--version
`
if
test
$?
-eq
"0"
then
AC_MSG_CHECKING
(
"C++ compiler version of
$CXX
"
)
;
AC_MSG_RESULT
(
$CXX_VERSION
)
fi
# Fix for sgi gcc / sgiCC which tries to emulate gcc
if
test
"
$CC
"
=
"sgicc"
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment