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
a7a05077
Commit
a7a05077
authored
Oct 11, 2008
by
kent.boortz@sun.com
Committed by
Build Team
Oct 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made dist support script more portable sh
parent
71b125ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
BUILD/compile-dist
BUILD/compile-dist
+25
-8
No files found.
BUILD/compile-dist
View file @
a7a05077
...
@@ -13,34 +13,51 @@ path=`dirname $0`
...
@@ -13,34 +13,51 @@ path=`dirname $0`
# Default to gcc for CC and CXX
# Default to gcc for CC and CXX
if
test
-z
"
$CXX
"
;
then
if
test
-z
"
$CXX
"
;
then
export
CXX
=
gcc
CXX
=
gcc
# Set some required compile options
# Set some required compile options
if
test
-z
"
$CXXFLAGS
"
;
then
if
test
-z
"
$CXXFLAGS
"
;
then
export
CXXFLAGS
=
"-felide-constructors -fno-exceptions -fno-rtti"
CXXFLAGS
=
"-felide-constructors -fno-exceptions -fno-rtti"
fi
fi
fi
fi
if
test
-z
"
$CC
"
;
then
if
test
-z
"
$CC
"
;
then
export
CC
=
gcc
CC
=
gcc
fi
fi
# Use ccache, if available
# Use ccache, if available
if
ccache
-V
>
/dev/null 2>&1
if
ccache
-V
>
/dev/null 2>&1
then
then
if
!
(
echo
"
$CC
"
|
grep
"ccache"
>
/dev/null
)
if
echo
"
$CC
"
|
grep
"ccache"
>
/dev/null
then
then
export
CC
=
"ccache
$CC
"
:
else
CC
=
"ccache
$CC
"
fi
fi
if
!
(
echo
"
$CXX
"
|
grep
"ccache"
>
/dev/null
)
if
echo
"
$CXX
"
|
grep
"ccache"
>
/dev/null
then
then
export
CXX
=
"ccache
$CXX
"
:
else
CXX
=
"ccache
$CXX
"
fi
fi
fi
fi
if
test
-z
"
$MAKE
"
then
if
gmake
-v
>
/dev/null 2>&1
then
MAKE
=
"gmake"
else
MAKE
=
"make"
fi
fi
export
CC CXX MAKE
# Make sure to enable all features that affect "make dist"
# Make sure to enable all features that affect "make dist"
# Remember that configure restricts the man pages to the configured features !
# Remember that configure restricts the man pages to the configured features !
./configure
\
./configure
\
--with-embedded-server
\
--with-embedded-server
\
--with-ndbcluster
--with-ndbcluster
make
$MAKE
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