make/pic.make

changeset 3880
06320b1578cb
parent 1907
c18cbe5936b8
child 4025
0771839a29ab
     1.1 --- a/make/pic.make	Fri Jun 22 14:00:39 2012 -0400
     1.2 +++ b/make/pic.make	Mon Jun 25 15:34:06 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  #
     1.5 -# Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved.
     1.6 +# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8  #
     1.9  # This code is free software; you can redistribute it and/or modify it
    1.10 @@ -30,6 +30,13 @@
    1.11  
    1.12  ifneq ($(OSNAME), windows)
    1.13    ifndef LP64
    1.14 +    PARTIAL_NONPIC=1
    1.15 +  endif
    1.16 +  PIC_ARCH = ppc
    1.17 +  ifneq ("$(filter $(PIC_ARCH),$(BUILDARCH))","")
    1.18 +    PARTIAL_NONPIC=0
    1.19 +  endif
    1.20 +  ifeq ($(PARTIAL_NONPIC),1)
    1.21      NONPIC_DIRS  = memory oops gc_implementation gc_interface 
    1.22      NONPIC_DIRS  := $(foreach dir,$(NONPIC_DIRS), $(GAMMADIR)/src/share/vm/$(dir))
    1.23      # Look for source files under NONPIC_DIRS

mercurial