[mamory] clean up build flags

Leigh Scott leigh123linux at rpmfusion.org
Tue Jul 26 09:57:59 CEST 2016


commit c66672c7f9636435c81c49156f7d19c20cfd5370
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Tue Jul 26 08:57:54 2016 +0100

    clean up build flags

 mamory-opt.patch | 4 ++--
 mamory.spec      | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mamory-opt.patch b/mamory-opt.patch
index 4ec0991..b69fccf 100644
--- a/mamory-opt.patch
+++ b/mamory-opt.patch
@@ -5,7 +5,7 @@
  AC_ARG_ENABLE(debug,
  [  --enable-debug          Compilation flags to allow debugging],
 -  CFLAGS="-O0 -Wall -g ", CFLAGS="-g -DNDEBUG -O2 "
-+  CFLAGS="${RPM_OPT_FLAGS}", CFLAGS="-g -DNDEBUG ${RPM_OPT_FLAGS}"
++  CFLAGS="${RPM_OPT_FLAGS}", CFLAGS="${RPM_OPT_FLAGS} -DNDEBUG"
  )
  #AC_DEFINE(CFLAGS) 
  
@@ -16,7 +16,7 @@
    enableval=$enable_debug; CFLAGS="-O0 -Wall -g "
  else
 -  CFLAGS="-g -DNDEBUG -O2 "
-+  CFLAGS="-g -DNDEBUG ${RPM_OPT_FLAGS} "
++  CFLAGS="${RPM_OPT_FLAGS} -DNDEBUG"
  
  fi
  
diff --git a/mamory.spec b/mamory.spec
index 35ac519..73e9e5e 100644
--- a/mamory.spec
+++ b/mamory.spec
@@ -1,6 +1,6 @@
 Name:           mamory
 Version:        0.2.25
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        ROM management API and commandline ROM manager for MAME
 License:        GPLv2 and LGPLv2
 URL:            http://mamory.sourceforge.net
@@ -77,6 +77,9 @@ make check
 
 
 %changelog
+* Tue Jul 26 2016 Leigh Scott <leigh123linux at googlemail.com> - 0.2.25-10
+- clean up build flags
+
 * Tue Jul 26 2016 Leigh Scott <leigh123linux at googlemail.com> - 0.2.25-9
 - Rebuild this dinosaur with the proper fedora build flags
 


More information about the rpmfusion-commits mailing list