Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2e4f1776
Commit
2e4f1776
authored
May 09, 2011
by
Dominique Martinet
Committed by
Jean-Baptiste Kempf
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: build libgsm with -fPIC
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
a070f1a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+1
-0
No files found.
extras/contrib/src/contrib-src.mak
View file @
2e4f1776
...
@@ -2511,6 +2511,7 @@ endif
...
@@ -2511,6 +2511,7 @@ endif
ifdef
HAVE_MACOSX
ifdef
HAVE_MACOSX
(
cd
$@
;
sed
-e
's%-O2%-O2\
$(EXTRA_CFLAGS)
\
$(EXTRA_LDFLAGS)
%'
-e
's%# LDFLAGS =%LDFLAGS =
$(EXTRA_LDFLAGS)
%'
-e
's%gcc%
$(CC)
%'
-i
.orig Makefile
)
(
cd
$@
;
sed
-e
's%-O2%-O2\
$(EXTRA_CFLAGS)
\
$(EXTRA_LDFLAGS)
%'
-e
's%# LDFLAGS =%LDFLAGS =
$(EXTRA_LDFLAGS)
%'
-e
's%gcc%
$(CC)
%'
-i
.orig Makefile
)
endif
endif
(
cd
$@
;
sed
-i
-e
's%-O2%-O2 -fPIC%'
Makefile
)
.gsm
:
gsm
.gsm
:
gsm
(
cd
$<
;
$(HOSTCC)
make
&&
mkdir
-p
$(PREFIX)
/include/gsm
&&
cp
inc/gsm.h
$(PREFIX)
/include/gsm
&&
cp
lib/libgsm.a
$(PREFIX)
/lib
)
(
cd
$<
;
$(HOSTCC)
make
&&
mkdir
-p
$(PREFIX)
/include/gsm
&&
cp
inc/gsm.h
$(PREFIX)
/include/gsm
&&
cp
lib/libgsm.a
$(PREFIX)
/lib
)
...
...
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