Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-gpu
Commits
e46f4108
Commit
e46f4108
authored
Oct 31, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Make sure we can override default CC and CFLAGS from bootstrap.
parent
ca3e9173
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
extras/contrib/bootstrap
extras/contrib/bootstrap
+12
-6
No files found.
extras/contrib/bootstrap
View file @
e46f4108
...
@@ -143,12 +143,12 @@ rm -f "${distro_mak}"
...
@@ -143,12 +143,12 @@ rm -f "${distro_mak}"
}
>
"
${
distro_mak
}
"
}
>
"
${
distro_mak
}
"
if
test
"
$TARGET
"
!=
"
$BUILD
"
;
then
if
test
"
$TARGET
"
!=
"
$BUILD
"
;
then
CC
=
"
${
TARGET
}
-gcc"
test
-z
"
$CC
"
&&
CC
=
"
${
TARGET
}
-gcc"
CXX
=
"
${
TARGET
}
-g++"
test
-z
"
$CXX
"
&&
CXX
=
"
${
TARGET
}
-g++"
LD
=
"
${
TARGET
}
-ld"
test
-z
"
$LD
"
&&
LD
=
"
${
TARGET
}
-ld"
RANLIB
=
"
${
TARGET
}
-ranlib"
test
-z
"
$RANLIB
"
&&
RANLIB
=
"
${
TARGET
}
-ranlib"
AR
=
"
${
TARGET
}
-ar"
test
-z
"
$AR
"
&&
AR
=
"
${
TARGET
}
-ar"
STRIP
=
"
${
TARGET
}
-strip"
test
-z
"
$STRIP
"
&&
STRIP
=
"
${
TARGET
}
-strip"
fi
fi
case
$TARGET
in
case
$TARGET
in
...
@@ -356,6 +356,12 @@ test -z "${DISTRO}" && DISTRO=unix
...
@@ -356,6 +356,12 @@ test -z "${DISTRO}" && DISTRO=unix
cat
src/Distributions/
"
${
DISTRO
}
"
.mak
>>
"
${
distro_mak
}
"
cat
src/Distributions/
"
${
DISTRO
}
"
.mak
>>
"
${
distro_mak
}
"
# Save passed flags
EXTRA_CFLAGS+
=
"
$CFLAGS
"
EXTRA_LDFLAGS+
=
"
$LDFLAGS
"
EXTRA_CPPFLAGS+
=
"
$CPPFLAGS
"
EXTRA_CXXFLAGS+
=
"
$CXXFLAGS
"
add_makefile_cfg
"BUILD =
$BUILD
"
add_makefile_cfg
"BUILD =
$BUILD
"
add_makefile_cfg
"HOST =
$TARGET
"
add_makefile_cfg
"HOST =
$TARGET
"
add_makefile_cfg
"SRCDIR =
`
pwd
`
"
add_makefile_cfg
"SRCDIR =
`
pwd
`
"
...
...
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