X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Makefile.in;h=c99e955b18b80e47a291dc470f910c98171f5171;hb=ffa693e8bdac429c229fa679e64a8bd6cd6af15f;hp=cdd81337a8ac45f1e542af43ae243ae7e8208d46;hpb=4542979c0fecaf06caebec3abd6b0060ede2f1d9;p=vlc diff --git a/Makefile.in b/Makefile.in index cdd81337a8..c99e955b18 100644 --- a/Makefile.in +++ b/Makefile.in @@ -82,7 +82,7 @@ LIB += -lpthread -ldl endif ifneq (,$(findstring solaris,$(SYS))) -LIB += -ldl -lsocket -lnsl -lposix4 -lpthread +LIB += -ldl -lsocket -lnsl -lposix4 -lpthread -lresolv endif ifeq ($(SYS),beos) @@ -107,9 +107,9 @@ endif # Optimizations : don't compile debug versions with them ifeq ($(OPTIMS),1) CFLAGS += -O6 -CFLAGS += -ffast-math -funroll-loops -fargument-noalias-global -CFLAGS += -funroll-all-loops -fstrict-aliasing +CFLAGS += -ffast-math -funroll-loops -funroll-all-loops CFLAGS += -fomit-frame-pointer +CFLAGS += @BIZARRE_OPTIMS@ # Optimizations for x86 familiy ifneq (,$(findstring 86,$(ARCH))) @@ -438,7 +438,10 @@ snapshot: mv /tmp/${SNAPSHOTDIR}.tar.bz2 .. @echo "Sources are in ../${SNAPSHOTDIR}.tar.[gz,bz2]" -plugins: $(PLUGINS:%=lib/%.so) +plugins: lib $(PLUGINS:%=lib/%.so) + +lib: + mkdir -p lib FORCE: @@ -490,7 +493,7 @@ ifeq ($(SYS),beos) rm -f ./plugins/_APP_ ln -s ../vlc ./plugins/_APP_ else - $(CC) $(CFLAGS) $(LCFLAGS) --export-dynamic -rdynamic -o $@ $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ) + $(CC) $(CFLAGS) $(LCFLAGS) --export-dynamic @DYNAMIC_FLAG@ -o $@ $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ) endif lib/beos.so: $(PLUGIN_BEOS)