mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Added support for LDFLAGS.
This commit is contained in:
parent
8ba0b3a417
commit
37c5ee26ae
3
HISTORY
3
HISTORY
@ -142,7 +142,7 @@ VDR Plugin 'iptv' Revision History
|
|||||||
|
|
||||||
- Updated for vdr-1.7.15.
|
- Updated for vdr-1.7.15.
|
||||||
|
|
||||||
2010-12-06: Version 0.4.3
|
2010-xx-xx: Version 0.4.3
|
||||||
|
|
||||||
- Updated for vdr-1.7.16.
|
- Updated for vdr-1.7.16.
|
||||||
- Renamed Sid scanner to section id scanner and added
|
- Renamed Sid scanner to section id scanner and added
|
||||||
@ -156,3 +156,4 @@ VDR Plugin 'iptv' Revision History
|
|||||||
- Disable detaching of receivers if retuned to an existing
|
- Disable detaching of receivers if retuned to an existing
|
||||||
channel (Thanks to Zdeněk Kopřivík).
|
channel (Thanks to Zdeněk Kopřivík).
|
||||||
- Canonicalized the configuration directory.
|
- Canonicalized the configuration directory.
|
||||||
|
- Added support for LDFLAGS.
|
||||||
|
3
Makefile
3
Makefile
@ -24,6 +24,7 @@ VERSION = $(shell grep 'const char VERSION\[\] *=' $(PLUGIN).c | awk '{ print $$
|
|||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
CXXFLAGS ?= -fPIC -g -O2 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses
|
CXXFLAGS ?= -fPIC -g -O2 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses
|
||||||
|
LDFLAGS ?= -Wl,--as-needed
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
|
|
||||||
@ -113,7 +114,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
|
|||||||
### Targets:
|
### Targets:
|
||||||
|
|
||||||
libvdr-$(PLUGIN).so: $(OBJS)
|
libvdr-$(PLUGIN).so: $(OBJS)
|
||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
|
||||||
ifndef IPTV_DEBUG
|
ifndef IPTV_DEBUG
|
||||||
@$(STRIP) $@
|
@$(STRIP) $@
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user