Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2e4f1776
Commit
2e4f1776
authored
May 09, 2011
by
Dominique Martinet
Committed by
Jean-Baptiste Kempf
May 09, 2011
Browse files
contrib: build libgsm with -fPIC
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
a070f1a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/contrib-src.mak
View file @
2e4f1776
...
...
@@ -2511,6 +2511,7 @@ endif
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
)
endif
(
cd
$@
;
sed
-i
-e
's%-O2%-O2 -fPIC%'
Makefile
)
.gsm
:
gsm
(
cd
$<
;
$(HOSTCC)
make
&&
mkdir
-p
$(PREFIX)
/include/gsm
&&
cp
inc/gsm.h
$(PREFIX)
/include/gsm
&&
cp
lib/libgsm.a
$(PREFIX)
/lib
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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