X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fvdso%2FMakefile;h=b7ad9f89d21f8898dbf792de05b0dddd21f3a803;hb=98a1e95f9b5919b55c71a01546415074282d30d5;hp=17a6b057856b6f6759eb358d7060b5b682861440;hpb=9732b6112343df2872518ec6701c8ef729310a05;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile index 17a6b057856..b7ad9f89d21 100644 --- a/arch/x86/vdso/Makefile +++ b/arch/x86/vdso/Makefile @@ -37,7 +37,8 @@ $(obj)/%.so: OBJCOPYFLAGS := -S $(obj)/%.so: $(obj)/%.so.dbg FORCE $(call if_changed,objcopy) -CFL := $(PROFILING) -mcmodel=small -fPIC -g0 -O2 -fasynchronous-unwind-tables -m64 +CFL := $(PROFILING) -mcmodel=small -fPIC -O2 -fasynchronous-unwind-tables -m64 \ + $(filter -g%,$(KBUILD_CFLAGS)) $(vobjs): KBUILD_CFLAGS += $(CFL)