diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lua/Makefile | 2 | ||||
-rw-r--r-- | apps/plugins/plugins.make | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/Makefile b/apps/plugins/lua/Makefile index dcf2910c36..a9c8c22099 100644 --- a/apps/plugins/lua/Makefile +++ b/apps/plugins/lua/Makefile | |||
@@ -50,7 +50,7 @@ ifdef APP_TYPE | |||
50 | # This is the SDL simulator version | 50 | # This is the SDL simulator version |
51 | 51 | ||
52 | $(OUTPUT): $(OBJS) | 52 | $(OUTPUT): $(OBJS) |
53 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ | 53 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAGS) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ |
54 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) | 54 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) |
55 | # 'x' must be kept or you'll have "Win32 error 5" | 55 | # 'x' must be kept or you'll have "Win32 error 5" |
56 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 | 56 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 |
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make index 71eaeb52c0..ac94a04c59 100644 --- a/apps/plugins/plugins.make +++ b/apps/plugins/plugins.make | |||
@@ -112,7 +112,7 @@ $(BUILDDIR)/apps/plugins/%.o: $(ROOTDIR)/apps/plugins/%.c | |||
112 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@ | 112 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PLUGINFLAGS) -c $< -o $@ |
113 | 113 | ||
114 | ifdef APP_TYPE | 114 | ifdef APP_TYPE |
115 | PLUGINLDFLAGS = $(SHARED_LDFLAG) -Wl,-Map,$*.map | 115 | PLUGINLDFLAGS = $(SHARED_LDFLAGS) -Wl,-Map,$*.map |
116 | PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile | 116 | PLUGINFLAGS += $(SHARED_CFLAGS) # <-- from Makefile |
117 | else | 117 | else |
118 | PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map | 118 | PLUGINLDFLAGS = -T$(PLUGINLINK_LDS) -Wl,--gc-sections -Wl,-Map,$*.map |