libowfat: fix crossbuild.

This commit is contained in:
Enno Boland 2016-10-05 09:05:19 +02:00
parent 1a4e108e49
commit 8ab95022b3
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
--- Makefile.orig 2016-10-05 08:28:54.631977409 +0200
+++ Makefile 2016-10-05 08:29:11.588976745 +0200
@@ -40,7 +40,7 @@ CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
ent: ent.c haveuint128.h
- $(CC) -g -o ent ent.c -I.
+ cc -g -o ent ent.c -I.
# CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
--- GNUmakefile.orig 2016-10-05 09:02:43.606897920 +0200
+++ GNUmakefile 2016-10-05 09:02:54.656897487 +0200
@@ -39,7 +39,7 @@ CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
ent: ent.c haveuint128.h
- $(CC) -g -o ent ent.c -I.
+ cc -g -o ent ent.c -I.
# CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2

View file

@ -1,7 +1,7 @@
# Template file for 'libowfat'
pkgname=libowfat
version=0.31
revision=1
revision=2
build_style=gnu-makefile
short_desc="reimplement libdjb"
maintainer="Enno Boland <gottox@voidlinux.eu>"