mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
libowfat: fix crossbuild.
This commit is contained in:
parent
1a4e108e49
commit
8ab95022b3
2 changed files with 23 additions and 1 deletions
22
srcpkgs/libowfat/patches/fix-cross.patch
Normal file
22
srcpkgs/libowfat/patches/fix-cross.patch
Normal 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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libowfat'
|
# Template file for 'libowfat'
|
||||||
pkgname=libowfat
|
pkgname=libowfat
|
||||||
version=0.31
|
version=0.31
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="reimplement libdjb"
|
short_desc="reimplement libdjb"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue