Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d3c89a4f
Commit
d3c89a4f
authored
Jun 20, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: gsm: enforce CFLAGS
parent
f9812a51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
contrib/src/gsm/rules.mak
contrib/src/gsm/rules.mak
+2
-5
No files found.
contrib/src/gsm/rules.mak
View file @
d3c89a4f
...
...
@@ -11,14 +11,11 @@ gsm: libgsm_$(GSM_VERSION).tar.gz .sum-gsm
$(UNPACK)
mv
gsm-1.0-
*
libgsm_
$(GSM_VERSION)
$(APPLY)
$(SRC)
/gsm/gsm-cross.patch
sed
-e
's/^CFLAGS.*=/CFLAGS+=/'
-i
.orig libgsm_
$(GSM_VERSION)
/Makefile
$(MOVE)
ifdef
HAVE_DARWIN_OS
(
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
$<
&&
$(HOSTVARS)
$(MAKE)
cd
$<
&&
$(HOSTVARS
_PIC
)
$(MAKE)
mkdir
-p
"
$(PREFIX)
/include/gsm"
"
$(PREFIX)
/lib"
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