Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37866381
en ru br
ALT Linux repos
S:0.32-alt2

Group :: System/Libraries
RPM: libowfat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libowfat-0.32-alt-no-dietlibc.patch
Download


diff --git a/libowfat/GNUmakefile b/libowfat/GNUmakefile
index 80b1c26..5271aea 100644
--- a/libowfat/GNUmakefile
+++ b/libowfat/GNUmakefile
@@ -46,38 +46,6 @@ ent: ent.c haveuint128.h
 
 # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
 
-# startrip
-ifneq ($(DEBUG),)
-CFLAGS=-pipe -Wall -g -Og
-endif
-path = $(subst :, ,$(PATH))
-diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
-ifeq ($(strip $(diet_path)),)
-ifneq ($(wildcard /opt/diet/bin/diet),)
-DIET=/opt/diet/bin/diet
-else
-DIET=
-endif
-else
-DIET:=$(strip $(diet_path))
-endif
-gcc_path = $(foreach dir,$(path),$(wildcard $(dir)/gcc))
-ifeq ($(strip $(gcc_path)),)
-CC=clang
-else
-CC=gcc
-endif
-
-ifneq ($(DIET),)
-DIETLIBPATH=$(shell $(DIET) -L $(CCC))
-ifneq ($(wildcard $(DIETLIBPATH)/*ibc.a),)
-LIBDIR=$(DIETLIBPATH)
-endif
-ifneq ($(DEBUG),1)
-DIET+=-Os
-endif
-endif
-
 # to build without diet libc support, use $ make DIET=
 # see http://www.fefe.de/dietlibc/ for details about the diet libc
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin