diff options
| author | Nils Wallménius <nils@rockbox.org> | 2011-06-07 11:56:23 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2011-06-07 11:56:23 +0000 |
| commit | 331b23d15b765489a9abd344ddab9771125c3754 (patch) | |
| tree | 39b809790113945740bec94cfbe27eb4113ef498 /apps/plugins/lua/Makefile | |
| parent | f9f96325e20be46d1cf12492818485f2f84c3c3a (diff) | |
| download | rockbox-331b23d15b765489a9abd344ddab9771125c3754.zip rockbox-331b23d15b765489a9abd344ddab9771125c3754.tar.gz rockbox-331b23d15b765489a9abd344ddab9771125c3754.tar.bz2 rockbox-331b23d15b765489a9abd344ddab9771125c3754.tar.xz | |
FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/Makefile')
| -rw-r--r-- | apps/plugins/lua/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/Makefile b/apps/plugins/lua/Makefile index 09535ac..8568d79 100644 --- a/apps/plugins/lua/Makefile +++ b/apps/plugins/lua/Makefile @@ -55,7 +55,7 @@ ifdef APP_TYPE # This is the SDL simulator version $(OUTPUT): $(OBJS) - $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ + $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) # 'x' must be kept or you'll have "Win32 error 5" # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 |