opa-fm/opa-fm-use-RPM_OPT_FLAGS.patch

34 lines
1.3 KiB
Diff

commit 925cdfe3fa7d06d7264782cc44fdf718170a47e7
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Mon Aug 28 14:06:36 2017 +0200
opa-fm use RPM_OPT_FLAGS
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git Esm/Makerules.project Esm/Makerules.project
index c3883708f1e0..58d74651b557 100755
--- Esm/Makerules.project
+++ Esm/Makerules.project
@@ -124,6 +124,7 @@ BSCPROJ =
CPROJ = -DPRODUCT=$(PRODUCT) -DPRODUCT_$(PRODUCT) -DMODULEVERSION=$(MODULEVERSION)
# include buildFeatureDefs to let inplace build work for stream consistency
CPROJ += -include $(TL_DIR)/Fd/buildFeatureDefs
+CPROJ += $(RPM_OPT_FLAGS)
ifeq ($(IB_STACK),OPENIB)
CPROJ += -DIB_STACK_OPENIB
else
diff --git MakeTools/patch_version/Makefile MakeTools/patch_version/Makefile
index de6338cb2210..2b7abdeeabfe 100755
--- MakeTools/patch_version/Makefile
+++ MakeTools/patch_version/Makefile
@@ -126,7 +126,7 @@ include $(TL_DIR)/$(PROJ_FILE_DIR)/Makerules.project
# (Windows Only)
#=============================================================================#
# override use of patch_engineer_version to avoid error
-CPROJ=
+CPROJ= $(RPM_OPT_FLAGS)
#=============================================================================#
# Rules: