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
5c47714a
Commit
5c47714a
authored
May 06, 2013
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid touching CFLAGS unless explicitly requested (#352)
parent
9f8d5336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
bin/ruby-build
+7
-2
No files found.
bin/ruby-build
View file @
5c47714a
...
@@ -378,8 +378,13 @@ build_package_standard() {
...
@@ -378,8 +378,13 @@ build_package_standard() {
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"
local
PACKAGE_CFLAGS
=
"
${
package_var_name
}
_CFLAGS"
{
CFLAGS
=
"
$CFLAGS
${
!PACKAGE_CFLAGS
}
"
${
!PACKAGE_CONFIGURE
:-
./configure
}
--prefix
=
"
${
!PACKAGE_PREFIX_PATH
:-
$PREFIX_PATH
}
"
$CONFIGURE_OPTS
${
!PACKAGE_CONFIGURE_OPTS
}
"
${
!PACKAGE_CONFIGURE_OPTS_ARRAY
}
"
(
if
[
"
${
CFLAGS
+defined
}
"
]
||
[
"
${
!PACKAGE_CFLAGS+defined
}
"
]
;
then
"
$MAKE
"
$MAKE_OPTS
${
!PACKAGE_MAKE_OPTS
}
"
${
!PACKAGE_MAKE_OPTS_ARRAY
}
"
export
CFLAGS
=
"
$CFLAGS
{
$!
PACKAGE_CFLAGS}"
fi
${
!PACKAGE_CONFIGURE
:-
./configure
}
--prefix
=
"
${
!PACKAGE_PREFIX_PATH
:-
$PREFIX_PATH
}
"
$CONFIGURE_OPTS
${
!PACKAGE_CONFIGURE_OPTS
}
"
${
!PACKAGE_CONFIGURE_OPTS_ARRAY
}
"
)
>
&4 2>&1
{
"
$MAKE
"
$MAKE_OPTS
${
!PACKAGE_MAKE_OPTS
}
"
${
!PACKAGE_MAKE_OPTS_ARRAY
}
"
"
$MAKE
"
install
"
$MAKE
"
install
}
>
&4 2>&1
}
>
&4 2>&1
}
}
...
...
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