Subversion Repositories eduke32

Rev

Rev 8452 | Rev 8569 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8452 Rev 8496
Line 522... Line 522...
522
    COMPILERFLAGS += -DUNDERSCORES
522
    COMPILERFLAGS += -DUNDERSCORES
523
    ASFORMAT := win$(BITS)
523
    ASFORMAT := win$(BITS)
524
    ASFLAGS += -DUNDERSCORES
524
    ASFLAGS += -DUNDERSCORES
525
525
526
    DYNAMICBASE := ,--dynamicbase
526
    ifneq ($(RELEASE),0)
-
 
527
        ifeq ($(FORCEDEBUG),0)
-
 
528
            DYNAMICBASE := ,--dynamicbase
527
    LINKERFLAGS += -Wl,--enable-auto-import,--nxcompat$(DYNAMICBASE)
529
        endif
-
 
530
    endif
-
 
531
    LINKERFLAGS += -Wl,--enable-auto-import,--nxcompat$(DYNAMICBASE)
528
    ifneq ($(findstring x86_64,$(COMPILERTARGET)),x86_64)
532
    ifneq ($(findstring x86_64,$(COMPILERTARGET)),x86_64)
529
        LINKERFLAGS += -Wl,--large-address-aware
533
        LINKERFLAGS += -Wl,--large-address-aware
530
    else
534
    else
531
        LINKERFLAGS += -Wl,--high-entropy-va
535
        LINKERFLAGS += -Wl,--high-entropy-va
532
    endif
536
    endif