Skip to content
Browse files

[osx/iosx] fixed build, remove read_only_relocs flag on linker, you o…

…nly need it for wacky asm code and it is not present for x86_64 gcc-4.2
  • Loading branch information...
1 parent d617f38 commit 251a5b649c6e19d403d68af0e6b34ebbedd9ab20 @davilla davilla committed Oct 21, 2012
View
2 lib/addons/library.xbmc.addon/Makefile.in
@@ -12,7 +12,7 @@ all: $(LIB_SHARED)
$(LIB_SHARED): $(OBJS)
ifeq ($(findstring osx,$(ARCH)), osx)
$(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
- -bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
+ -bundle -undefined dynamic_lookup -o $@ \
@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS)
else
$(CXX) $(CFLAGS) $(LDFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS)
View
2 lib/addons/library.xbmc.gui/Makefile.in
@@ -12,7 +12,7 @@ all: $(LIB_SHARED)
$(LIB_SHARED): $(OBJS)
ifeq ($(findstring osx,$(ARCH)), osx)
$(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
- -bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
+ -bundle -undefined dynamic_lookup -o $@ \
@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS)
else
$(CXX) $(CFLAGS) $(LDFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS)
View
2 lib/addons/library.xbmc.pvr/Makefile.in
@@ -12,7 +12,7 @@ all: $(LIB_SHARED)
$(LIB_SHARED): $(OBJS)
ifeq ($(findstring osx,$(ARCH)), osx)
$(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
- -bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
+ -bundle -undefined dynamic_lookup -o $@ \
@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS)
else
$(CXX) $(CFLAGS) $(LDFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS)

0 comments on commit 251a5b6

Please sign in to comment.
Something went wrong with that request. Please try again.