summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/zypper/zypper/rpm5-flag.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/zypper/zypper/rpm5-flag.patch')
-rw-r--r--meta/recipes-extended/zypper/zypper/rpm5-flag.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/recipes-extended/zypper/zypper/rpm5-flag.patch b/meta/recipes-extended/zypper/zypper/rpm5-flag.patch
deleted file mode 100644
index 89564a60f7..0000000000
--- a/meta/recipes-extended/zypper/zypper/rpm5-flag.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3It's required by libzypp headers
4
5Signed-off-by: Qing He <qing.he@intel.com>
6
7diff --git a/CMakeLists.txt b/CMakeLists.txt
8index 6b040a6..84431c8 100644
9--- a/CMakeLists.txt
10+++ b/CMakeLists.txt
11@@ -15,6 +15,7 @@ INCLUDE( ${ZYPPER_SOURCE_DIR}/VERSION.cmake )
12 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
13 ADD_DEFINITIONS( -D_FILE_OFFSET_BITS=64 )
14 ADD_DEFINITIONS( -DVERSION="${VERSION}" )
15+ADD_DEFINITIONS( -D_RPM_5 )
16
17 SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Woverloaded-virtual -fstack-protector" )
18 SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -fstack-protector" )