diff options
Diffstat (limited to 'apps/codecs/codecs.make')
-rw-r--r-- | apps/codecs/codecs.make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/codecs.make b/apps/codecs/codecs.make index be1a0e0f00..1a5dd8f36a 100644 --- a/apps/codecs/codecs.make +++ b/apps/codecs/codecs.make | |||
@@ -112,7 +112,8 @@ $(CODECDIR)/%.o: $(ROOTDIR)/apps/codecs/%.S | |||
112 | -I$(dir $<) $(CODECFLAGS) $(ASMFLAGS) -c $< -o $@ | 112 | -I$(dir $<) $(CODECFLAGS) $(ASMFLAGS) -c $< -o $@ |
113 | 113 | ||
114 | ifdef APP_TYPE | 114 | ifdef APP_TYPE |
115 | CODECLDFLAGS = $(SHARED_FLAG) # <-- from Makefile | 115 | CODECLDFLAGS = $(SHARED_LDFLAG) # <-- from Makefile |
116 | CODECFLAGS += $(SHARED_CFLAGS) # <-- from Makefile | ||
116 | else | 117 | else |
117 | CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map | 118 | CODECLDFLAGS = -T$(CODECLINK_LDS) -Wl,--gc-sections -Wl,-Map,$(CODECDIR)/$*.map |
118 | CODECFLAGS += -UDEBUG -DNDEBUG | 119 | CODECFLAGS += -UDEBUG -DNDEBUG |