components/llvm/patches/001-Makefile.config.in.patch
changeset 5434 9f55c805ce9d
equal deleted inserted replaced
5428:3c05d530e67e 5434:9f55c805ce9d
       
     1 # Solaris autoconf-based build.
       
     2 # https://llvm.org/bugs/show_bug.cgi?id=24641
       
     3 --- Makefile.config.in	2014-11-04 16:35:15.000000000 -0800
       
     4 +++ Makefile.config.in	2015-08-31 09:18:01.367776683 -0700
       
     5 @@ -12,6 +12,8 @@
       
     6  #
       
     7  #===------------------------------------------------------------------------===#
       
     8  
       
     9 +MACH = $(shell uname -p)
       
    10 +
       
    11  # Define LLVM specific info and directories based on the autoconf variables
       
    12  LLVMPackageName   := @PACKAGE_TARNAME@
       
    13  LLVMVersion       := @PACKAGE_VERSION@
       
    14 @@ -220,6 +222,12 @@
       
    15  
       
    16  LIBS       := @LIBS@
       
    17  
       
    18 +ifeq ($(HOST_OS), $(filter $(HOST_OS), SunOS))
       
    19 +  ifeq ($(MACH),sparc)
       
    20 +    LIBS += -lkstat
       
    21 +  endif
       
    22 +endif
       
    23 +
       
    24  # Targets that are possible to build
       
    25  ALL_TARGETS := @ALL_TARGETS@
       
    26  
       
    27 @@ -337,14 +345,14 @@
       
    28  ENABLE_EMBED_STDCXX := @ENABLE_EMBED_STDCXX@
       
    29  
       
    30  # Use -fvisibility-inlines-hidden?
       
    31 -ENABLE_VISIBILITY_INLINES_HIDDEN := @ENABLE_VISIBILITY_INLINES_HIDDEN@
       
    32 +ENABLE_VISIBILITY_INLINES_HIDDEN := 0
       
    33  
       
    34  # Do we want to allow timestamping information into builds?
       
    35  ENABLE_TIMESTAMPS := @ENABLE_TIMESTAMPS@
       
    36  
       
    37  # This option tells the Makefiles to produce verbose output.
       
    38  # It essentially prints the commands that make is executing
       
    39 -#VERBOSE = 1
       
    40 +VERBOSE := 1
       
    41  
       
    42  # Enable JIT for this platform
       
    43  TARGET_HAS_JIT = @TARGET_HAS_JIT@