99 lines
4.3 KiB
Diff
99 lines
4.3 KiB
Diff
|
From 3581242b2e434992c9ffa000a878a535441c99c8 Mon Sep 17 00:00:00 2001
|
||
|
From: Honggang Li <honli@redhat.com>
|
||
|
Date: Thu, 27 Sep 2018 01:54:15 -0400
|
||
|
Subject: [PATCH 2/3] Lets build config decide C optimization flags
|
||
|
|
||
|
Signed-off-by: Honggang Li <honli@redhat.com>
|
||
|
---
|
||
|
Dsap/Makefile | 4 ++--
|
||
|
opasadb/path_tools/cache/Makefile | 2 +-
|
||
|
opasadb/path_tools/dump/Makefile | 2 +-
|
||
|
opasadb/path_tools/exercise/Makefile | 2 +-
|
||
|
opasadb/path_tools/perf/Makefile | 2 +-
|
||
|
opasadb/path_tools/query/Makefile | 2 +-
|
||
|
6 files changed, 7 insertions(+), 7 deletions(-)
|
||
|
|
||
|
diff --git a/Dsap/Makefile b/Dsap/Makefile
|
||
|
index 1e98c42..9d545e7 100644
|
||
|
--- a/Dsap/Makefile
|
||
|
+++ b/Dsap/Makefile
|
||
|
@@ -133,8 +133,8 @@ include $(TL_DIR)/$(PROJ_FILE_DIR)/Makerules.project
|
||
|
# (Windows Only)
|
||
|
#USEMFC = How Windows MFC should be used (none, static, shared, no_mfc) [none]
|
||
|
# (Windows Only)
|
||
|
-COPT = # set by CKERNEL for drivers
|
||
|
-CCOPT = # set by CKERNEL for drivers
|
||
|
+#COPT = # set by CKERNEL for drivers
|
||
|
+#CCOPT = # set by CKERNEL for drivers
|
||
|
#=============================================================================#
|
||
|
|
||
|
#=============================================================================#
|
||
|
diff --git a/opasadb/path_tools/cache/Makefile b/opasadb/path_tools/cache/Makefile
|
||
|
index 769bad7..0fecf24 100644
|
||
|
--- a/opasadb/path_tools/cache/Makefile
|
||
|
+++ b/opasadb/path_tools/cache/Makefile
|
||
|
@@ -129,7 +129,7 @@ include $(TL_DIR)/IbaTools/Makerules.module
|
||
|
# C++ optimization flags, default lets build config decide
|
||
|
#CCOPT =
|
||
|
# C optimization flags, default lets build config decide
|
||
|
-COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
+#COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
#SUBSYSTEM = Subsystem to build for (none, console or windows) [none]
|
||
|
# (Windows Only)
|
||
|
#USEMFC = How Windows MFC should be used (none, static, shared, no_mfc) [none]
|
||
|
diff --git a/opasadb/path_tools/dump/Makefile b/opasadb/path_tools/dump/Makefile
|
||
|
index 4562df3..81d89a7 100644
|
||
|
--- a/opasadb/path_tools/dump/Makefile
|
||
|
+++ b/opasadb/path_tools/dump/Makefile
|
||
|
@@ -129,7 +129,7 @@ include $(TL_DIR)/IbaTools/Makerules.module
|
||
|
# C++ optimization flags, default lets build config decide
|
||
|
#CCOPT =
|
||
|
# C optimization flags, default lets build config decide
|
||
|
-COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
+#COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
#SUBSYSTEM = Subsystem to build for (none, console or windows) [none]
|
||
|
# (Windows Only)
|
||
|
#USEMFC = How Windows MFC should be used (none, static, shared, no_mfc) [none]
|
||
|
diff --git a/opasadb/path_tools/exercise/Makefile b/opasadb/path_tools/exercise/Makefile
|
||
|
index ebed0f5..d7913e3 100644
|
||
|
--- a/opasadb/path_tools/exercise/Makefile
|
||
|
+++ b/opasadb/path_tools/exercise/Makefile
|
||
|
@@ -129,7 +129,7 @@ include $(TL_DIR)/IbaTools/Makerules.module
|
||
|
# C++ optimization flags, default lets build config decide
|
||
|
#CCOPT =
|
||
|
# C optimization flags, default lets build config decide
|
||
|
-COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
+#COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
#SUBSYSTEM = Subsystem to build for (none, console or windows) [none]
|
||
|
# (Windows Only)
|
||
|
#USEMFC = How Windows MFC should be used (none, static, shared, no_mfc) [none]
|
||
|
diff --git a/opasadb/path_tools/perf/Makefile b/opasadb/path_tools/perf/Makefile
|
||
|
index 5029c4a..72e8836 100644
|
||
|
--- a/opasadb/path_tools/perf/Makefile
|
||
|
+++ b/opasadb/path_tools/perf/Makefile
|
||
|
@@ -128,7 +128,7 @@ include $(TL_DIR)/IbaTools/Makerules.module
|
||
|
# C++ optimization flags, default lets build config decide
|
||
|
#CCOPT =
|
||
|
# C optimization flags, default lets build config decide
|
||
|
-COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
+#COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
#SUBSYSTEM = Subsystem to build for (none, console or windows) [none]
|
||
|
# (Windows Only)
|
||
|
#USEMFC = How Windows MFC should be used (none, static, shared, no_mfc) [none]
|
||
|
diff --git a/opasadb/path_tools/query/Makefile b/opasadb/path_tools/query/Makefile
|
||
|
index 0b6e480..7547c41 100644
|
||
|
--- a/opasadb/path_tools/query/Makefile
|
||
|
+++ b/opasadb/path_tools/query/Makefile
|
||
|
@@ -128,7 +128,7 @@ include $(TL_DIR)/IbaTools/Makerules.module
|
||
|
# C++ optimization flags, default lets build config decide
|
||
|
#CCOPT =
|
||
|
# C optimization flags, default lets build config decide
|
||
|
-COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
+#COPT = -g -D_GNU_SOURCE -Wall -fPIE
|
||
|
#SUBSYSTEM = Subsystem to build for (none, console or windows) [none]
|
||
|
# (Windows Only)
|
||
|
#USEMFC = How Windows MFC should be used (none, static, shared, no_mfc) [none]
|
||
|
--
|
||
|
2.18.0
|
||
|
|