view core/tree/patch-Makefile.patch @ 932:069f16236998

graphics/qrencode: initial import, closes #2239
author David Demelier <markand@malikania.fr>
date Thu, 29 Aug 2019 22:00:00 +0200
parents 6972f2849a26
children
line wrap: on
line source

--- Makefile.orig	2019-07-12 16:45:19.739258636 +0200
+++ Makefile	2019-07-12 16:45:42.922958452 +0200
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-prefix = /usr
+prefix = /
 
 CC=gcc
 
@@ -30,7 +30,7 @@
 # Uncomment options below for your particular OS:
 
 # Linux defaults:
-CFLAGS=-ggdb -pedantic -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS=-ggdb -pedantic -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${EXTRA_CFLAGS}
 #CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 #LDFLAGS=-s