hotspot/make/lib/CompileGtest.gmk
changeset 46630 75aa3e39d02c
parent 42901 3da41dfcadf8
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
     1 #
     1 #
     2 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    50 
    50 
    51   $(GTEST_JVM_MAPFILE): $(JVM_OUTPUTDIR)/gtest/symbols
    51   $(GTEST_JVM_MAPFILE): $(JVM_OUTPUTDIR)/gtest/symbols
    52 	$(call create-mapfile)
    52 	$(call create-mapfile)
    53 endif
    53 endif
    54 
    54 
    55 # Disabling switch warning for clang because of test source.
    55 # Disabling undef, switch, format-nonliteral and tautological-undefined-compare
       
    56 # warnings for clang because of test source.
    56 
    57 
    57 # Note: On AIX, the gtest test classes linked into the libjvm.so push the TOC
    58 # Note: On AIX, the gtest test classes linked into the libjvm.so push the TOC
    58 # size beyond 64k, so we need to link with bigtoc. However, this means that
    59 # size beyond 64k, so we need to link with bigtoc. However, this means that
    59 # -qpic=large would be advisable to lessen the performance effect of bigtoc.
    60 # -qpic=large would be advisable to lessen the performance effect of bigtoc.
    60 # But we want to avoid imposing -qpic=large onto the regular libjvm.so, which
    61 # But we want to avoid imposing -qpic=large onto the regular libjvm.so, which