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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
beedaf26
Commit
beedaf26
authored
Mar 26, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move test of gcc 3.0 from BUILD to configure
parent
37522497
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
BUILD/SETUP.sh
BUILD/SETUP.sh
+1
-8
configure.in
configure.in
+13
-0
No files found.
BUILD/SETUP.sh
View file @
beedaf26
...
...
@@ -67,11 +67,4 @@ else
make
=
make
fi
if
gcc
-v
2>&1 |
grep
'version 3'
>
/dev/null 2>&1
then
CXX
=
"gcc -DUSE_MYSYS_NEW"
CXXLDFLAGS
=
"-Wl,--defsym -Wl,__cxa_pure_virtual=0"
else
CXX
=
gcc
CXXLDFLAGS
=
""
fi
CXX
=
gcc
configure.in
View file @
beedaf26
...
...
@@ -321,6 +321,19 @@ then
# Disable exceptions as they seams to create problems with gcc and threads.
# mysqld doesn't use run-time-type-checking, so we disable it.
CXXFLAGS
=
"
$CXXFLAGS
-fno-implicit-templates -fno-exceptions -fno-rtti"
# If you are using 'gcc' 3.0 (not g++) to compile C++ programs,
# we will gets some problems when linking static programs.
# The following code is used to fix this problem.
if
test
"
$CXX
"
=
"gcc"
then
if
$CXX
-v
2>&1 |
grep
'version 3'
>
/dev/null 2>&1
then
CXXFLAGS
=
"
$CXXFLAGS
-DUSE_MYSYS_NEW"
CXXLDFLAGS
=
"
$CXXLDFLAGS
-Wl,--defsym -Wl,__cxa_pure_virtual=0"
fi
fi
fi
# Avoid bug in fcntl on some versions of linux
...
...
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