Commit e283c26c authored by Michael Niedermayer's avatar Michael Niedermayer

build sys: rename STRIPFLAGS to ASMSTRIPFLAGS

This more closely matches the actual use, also we use plain
strip without these flags for striping
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 71b95f2a
...@@ -731,7 +731,7 @@ add_ldflags(){ ...@@ -731,7 +731,7 @@ add_ldflags(){
} }
add_stripflags(){ add_stripflags(){
append STRIPFLAGS "$@" append ASMSTRIPFLAGS "$@"
} }
add_extralibs(){ add_extralibs(){
...@@ -902,7 +902,7 @@ test_stripflags(){ ...@@ -902,7 +902,7 @@ test_stripflags(){
check_cc <<EOF check_cc <<EOF
int main(void) { return 0; } int main(void) { return 0; }
EOF EOF
check_cmd $strip $STRIPFLAGS "$@" $TMPO check_cmd $strip $ASMSTRIPFLAGS "$@" $TMPO
} }
check_stripflags(){ check_stripflags(){
...@@ -4880,7 +4880,7 @@ LD_PATH=$LD_PATH ...@@ -4880,7 +4880,7 @@ LD_PATH=$LD_PATH
DLLTOOL=$dlltool DLLTOOL=$dlltool
LDFLAGS=$LDFLAGS LDFLAGS=$LDFLAGS
SHFLAGS=$(echo $($ldflags_filter $SHFLAGS)) SHFLAGS=$(echo $($ldflags_filter $SHFLAGS))
STRIPFLAGS=$STRIPFLAGS ASMSTRIPFLAGS=$ASMSTRIPFLAGS
YASMFLAGS=$YASMFLAGS YASMFLAGS=$YASMFLAGS
BUILDSUF=$build_suffix BUILDSUF=$build_suffix
PROGSSUF=$progs_suffix PROGSSUF=$progs_suffix
......
...@@ -25,7 +25,7 @@ $(SUBDIR)%-test.i: $(SUBDIR)%.c ...@@ -25,7 +25,7 @@ $(SUBDIR)%-test.i: $(SUBDIR)%.c
$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
$(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d) $(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d)
$(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $< $(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $<
-$(STRIP) $(STRIPFLAGS) $@ -$(STRIP) $(ASMSTRIPFLAGS) $@
LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS) LIBOBJS := $(OBJS) $(SUBDIR)%.h.o $(TESTOBJS)
$(LIBOBJS) $(LIBOBJS:.o=.s) $(LIBOBJS:.o=.i): CPPFLAGS += -DHAVE_AV_CONFIG_H $(LIBOBJS) $(LIBOBJS:.o=.s) $(LIBOBJS:.o=.i): CPPFLAGS += -DHAVE_AV_CONFIG_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment