--- /dev/null
+
+# Export CFLAGS + CXXFLAGS
+GLOBAL_CFLAGS = -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4
+
+CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
+CFLAGS_x86_64 = -m64 -mtune=generic
+
+export CFLAGS = %{GLOBAL_CFLAGS} %{CFLAGS_%{DISTRO_ARCH}}
+export CXXFLAGS = %{CFLAGS}
--prefix=/usr
patches =
-sources = %{tarball}
-tarball = %{thisapp}.tar.gz
+sources = %{thisapp}.tar.gz
# Macro definitions
# Macro to extract tarballs.
# Guesses the compression type automatically.
-MACRO_EXTRACT = tar xvaf
+MACRO_EXTRACT = tar xaf
# Macro to define and start the quality agent.
# Long term goal is to improve the commited code.
--- /dev/null
+
+###############################################################################
+#
+# Quality agent
+#
+###############################################################################
+# Export variables for the quality agent
+
+export QUALITY_AGENT_PERMIT_NOT_FULL_RELRO
+export QUALITY_AGENT_RPATH_ALLOW_ORIGIN
+export QUALITY_AGENT_WHITELIST_EXECSTACK
+export QUALITY_AGENT_WHITELIST_NX
+export QUALITY_AGENT_WHITELIST_RPATH
+export QUALITY_AGENT_WHITELIST_SONAME
+export QUALITY_AGENT_WHITELIST_SYMLINK
+export QUALITY_AGENT_NO_DIRECTORY_CHECK
+export QUALITY_AGENT_NO_DIRECTORY_PRUNE