components/openscap/Makefile
changeset 1645 ff50a80c552a
parent 1605 7fc7910b6d94
child 1698 72e1a26a96a1
equal deleted inserted replaced
1644:99106880f744 1645:ff50a80c552a
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 
    20 
    21 #
    21 #
    22 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
    22 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    23 #
    23 #
    24 
    24 
    25 include ../../make-rules/shared-macros.mk
    25 include ../../make-rules/shared-macros.mk
    26 
    26 
    27 COMPONENT_NAME=		openscap
    27 COMPONENT_NAME=		openscap
    33 COMPONENT_ARCHIVE_HASH= sha256:0d9ae804026d69e60d44e27cf489e65dd1c2865895cde2cb174ff90fd7868a6a
    33 COMPONENT_ARCHIVE_HASH= sha256:0d9ae804026d69e60d44e27cf489e65dd1c2865895cde2cb174ff90fd7868a6a
    34 COMPONENT_ARCHIVE_URL=  $(COMPONENT_DOWNLOAD_URL)/$(COMPONENT_ARCHIVE)
    34 COMPONENT_ARCHIVE_URL=  $(COMPONENT_DOWNLOAD_URL)/$(COMPONENT_ARCHIVE)
    35 COMPONENT_BUGDB=        utility/openscap
    35 COMPONENT_BUGDB=        utility/openscap
    36 
    36 
    37 COMPILER =		gcc
    37 COMPILER =		gcc
    38 # Parfait doesn't work with the GNU 4.7 compilers yet.
       
    39 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    40 COMPILER =		gcc3
       
    41 endif
       
    42 CFLAGS+=		-std=c99
    38 CFLAGS+=		-std=c99
    43 CFLAGS+=		-DNDEBUG
    39 CFLAGS+=		-DNDEBUG
    44 
    40 
    45 include $(WS_TOP)/make-rules/prep.mk
    41 include $(WS_TOP)/make-rules/prep.mk
    46 include $(WS_TOP)/make-rules/configure.mk
    42 include $(WS_TOP)/make-rules/configure.mk