Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
e75dcd07
Commit
e75dcd07
authored
Feb 27, 2013
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default Ruby CFLAGS to `-Wno-error=shorten-64-to-32`; don't set `CC`
Ref. #290, #311
parent
84820db1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bin/ruby-build
+4
-4
No files found.
bin/ruby-build
View file @
e75dcd07
...
@@ -352,8 +352,9 @@ build_package_standard() {
...
@@ -352,8 +352,9 @@ build_package_standard() {
local
PACKAGE_CONFIGURE_OPTS_ARRAY
=
"
${
package_var_name
}
_CONFIGURE_OPTS_ARRAY[@]"
local
PACKAGE_CONFIGURE_OPTS_ARRAY
=
"
${
package_var_name
}
_CONFIGURE_OPTS_ARRAY[@]"
local
PACKAGE_MAKE_OPTS
=
"
${
package_var_name
}
_MAKE_OPTS"
local
PACKAGE_MAKE_OPTS
=
"
${
package_var_name
}
_MAKE_OPTS"
local
PACKAGE_MAKE_OPTS_ARRAY
=
"
${
package_var_name
}
_MAKE_OPTS_ARRAY[@]"
local
PACKAGE_MAKE_OPTS_ARRAY
=
"
${
package_var_name
}
_MAKE_OPTS_ARRAY[@]"
local
PACKAGE_CFLAGS
=
"
${
package_var_name
}
_CFLAGS"
{
${
!PACKAGE_CONFIGURE
:-
./configure
}
--prefix
=
"
${
!PACKAGE_PREFIX_PATH
:-
$PREFIX_PATH
}
"
$CONFIGURE_OPTS
${
!PACKAGE_CONFIGURE_OPTS
}
"
${
!PACKAGE_CONFIGURE_OPTS_ARRAY
}
"
{
CFLAGS
=
"
$CFLAGS
${
!PACKAGE_CFLAGS
}
"
${
!PACKAGE_CONFIGURE
:-
./configure
}
--prefix
=
"
${
!PACKAGE_PREFIX_PATH
:-
$PREFIX_PATH
}
"
$CONFIGURE_OPTS
${
!PACKAGE_CONFIGURE_OPTS
}
"
${
!PACKAGE_CONFIGURE_OPTS_ARRAY
}
"
"
$MAKE
"
$MAKE_OPTS
${
!PACKAGE_MAKE_OPTS
}
"
${
!PACKAGE_MAKE_OPTS_ARRAY
}
"
"
$MAKE
"
$MAKE_OPTS
${
!PACKAGE_MAKE_OPTS
}
"
${
!PACKAGE_MAKE_OPTS_ARRAY
}
"
"
$MAKE
"
install
"
$MAKE
"
install
}
>
&4 2>&1
}
>
&4 2>&1
...
@@ -655,9 +656,8 @@ else
...
@@ -655,9 +656,8 @@ else
TMP
=
"
${
TMPDIR
%/
}
"
TMP
=
"
${
TMPDIR
%/
}
"
fi
fi
if
[
-z
"
$CC
"
]
;
then
# Work around warnings building Ruby 2.0 on Clang 2.x
export
CC
=
"cc"
RUBY_CFLAGS
=
"
$RUBY_CFLAGS
-Wno-error=shorten-64-to-32"
fi
if
[
-z
"
$MAKE
"
]
;
then
if
[
-z
"
$MAKE
"
]
;
then
export
MAKE
=
"make"
export
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