Changeset 14


Ignore:
Timestamp:
Jun 8, 2010, 7:31:59 PM (15 years ago)
Author:
dmik
Message:

jdk/make/os2: Added compiler and linker options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/Defs-os2.gmk

    r10 r14  
    3737include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
    3838
    39 HPIS = os2
    40 
    4139# LIB_LOCATION, which for OS/2 identifies where .exe files go, may be
    4240# set by each GNUmakefile. The default is BINDIR.
     
    6058PLATFORM_INCLUDE      = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
    6159
    62 # C Compiler flag definitions
     60# suffix used for make dependencies files.
     61DEPEND_SUFFIX = dep
     62# The suffix applied to the library name for FDLIBM
     63FDDLIBM_SUFFIX = lib
     64# The suffix applied to scripts (.bat for windows, nothing for unix)
     65SCRIPT_SUFFIX = cmd
     66# CC compiler object code output directive flag value
     67CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required!
     68CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required!
     69
     70#
     71# Default HPI libraries. Build will build only native, unless
     72# overriden at the make command line. This makes it convenient for
     73# people doing, say, a pthreads port -- they can create a posix
     74# directory here, and say "gnumake HPIS=posix" at the top
     75# level.
     76#
     77HPIS = os2
    6378
    6479#
     
    99114
    100115#
     116# Misc compiler options
     117#
     118CFLAGS_COMMON   = $(GCC_WARNINGS) -march=i486 -mtune=generic
     119CFLAGS_OPT      = -s $(POPT)
     120CFLAGS_DBG      = -g
     121
     122CXXFLAGS_COMMON = -DCC_NOEX $(CFLAGS_COMMON)
     123CXXFLAGS_OPT    = $(CFLAGS_OPT)
     124CXXFLAGS_DBG    = $(CFLAGS_DBG)
     125
     126#
    101127# Preprocessor macro definitions
    102128#
     129CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DOS2 $(VERSION_DEFINES)
     130CPPFLAGS_OPT    =
     131CPPFLAGS_DBG    = -DDEBUG
    103132
    104133#
    105 # Output options (use specific filenames to avoid parallel compile errors)
     134# Linker options
    106135#
     136LDFLAGS_COMMON  = -Zomf -Zstack 0x2000 -Zlinker "DISABLE 1121" -Zhigh-mem
     137LDFLAGS_OPT     = -s
     138LDFLAGS_DBG     =
    107139
    108140#
Note: See TracChangeset for help on using the changeset viewer.