termux-packages/packages/secure-delete/001-makefile-cc.patch

10 lines
391 B
Diff

diff -uNr secure-delete-3.1/Makefile secure-delete-3.1.mod/Makefile
--- secure-delete-3.1/Makefile 2019-01-31 02:43:09.911882461 +0200
+++ secure-delete-3.1.mod/Makefile 2019-01-31 02:43:29.125266812 +0200
@@ -1,4 +1,4 @@
-CC=gcc
+CC ?= gcc
OPT=$(CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
#OPT=-Wall -D_DEBUG_ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
INSTALL_DIR=$(prefix)/bin