Commit a041075c authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Support per-platform values for EXTRADLLFLAGS.

parent d10410ea
......@@ -7,6 +7,7 @@ EXTRAINCL = $(UNWIND_CFLAGS)
EXTRALIBS = $(IOKIT_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(RT_LIBS) $(PTHREAD_LIBS) $(UNWIND_LIBS) $(I386_LIBS) $(PROCSTAT_LIBS)
EXTRADLLFLAGS = -nodefaultlibs -Wl,--image-base,0x7bc00000
x86_64_EXTRADLLFLAGS = -nodefaultlibs -Wl,--image-base,0x170000000
C_SRCS = \
actctx.c \
......
......@@ -4131,6 +4131,12 @@ static void load_sources( struct makefile *make )
if (make->extlib) make->staticlib = make->extlib;
if (make->staticlib) make->module = make->staticlib;
if (host_cpu)
{
value = get_expanded_file_local_var( make, host_cpu, "EXTRADLLFLAGS" );
if (value.count) make->extradllflags = value;
}
make->disabled = make->obj_dir && strarray_exists( &disabled_dirs, make->obj_dir );
make->is_win16 = strarray_exists( &make->extradllflags, "-m16" );
make->use_msvcrt = (make->module || make->testdll || make->is_win16) &&
......
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