z80ex: hardening
This commit is contained in:
parent
84b80b4e17
commit
8743de20d1
|
@ -0,0 +1,13 @@
|
||||||
|
Index: CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- CMakeLists.txt.orig
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -11,7 +11,7 @@ option (OPSTEP_FAST_AND_ROUGH "Fast and
|
||||||
|
|
||||||
|
#ALL_CFLAGS := -fPIC -fno-common -ansi -pedantic -Wall -pipe -O2 -I. -I./include
|
||||||
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
- set (CMAKE_C_FLAGS "-fPIC -fno-common -ansi -pedantic -Wall -pipe -O2")
|
||||||
|
+ set (CMAKE_C_FLAGS "-fPIC -fno-common -ansi -pedantic -Wall -pipe ${CMAKE_C_FLAGS}")
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
include_directories(BEFORE . include)
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'z80ex'
|
# Template file for 'z80ex'
|
||||||
pkgname=z80ex
|
pkgname=z80ex
|
||||||
version=1.1.21
|
version=1.1.21
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
short_desc="ZiLOG Z80 CPU emulation library"
|
short_desc="ZiLOG Z80 CPU emulation library"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-only"
|
||||||
homepage="https://sourceforge.net/projects/z80ex/"
|
homepage="https://sourceforge.net/projects/z80ex/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/project/z80ex/z80ex/${version}/z80ex-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/project/z80ex/z80ex/${version}/z80ex-${version}.tar.gz"
|
||||||
checksum=6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530
|
checksum=6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530
|
||||||
|
|
Loading…
Reference in New Issue