]> git.pld-linux.org Git - packages/lin_tape.git/blob - no-uname.patch
c3d28b68b4ec7d8b098d4860c2e3b0b474e02a6e
[packages/lin_tape.git] / no-uname.patch
1 --- lin_tape-3.0.8/Makefile.orig        2016-06-19 15:38:24.000000000 +0000
2 +++ lin_tape-3.0.8/Makefile     2016-06-19 15:39:28.228067758 +0000
3 @@ -18,25 +18,6 @@
4  lin_tape-objs := join.o lin_tape_scsi_config.o lin_tape_scsi_tape.o lin_tape_scsi_trace.o \
5               lin_tape_ioctl_tape.o lin_tape_ioctl_changer.o lin_tape_extra_ioctl.o
6  
7 -PROC := $(shell uname -m)
8 -
9 -ifeq ($(PROC), ppc64)
10 -EXTRA_CFLAGS += -m64
11 -endif
12 -
13 -ifeq ($(PROC), powerpc64)
14 -EXTRA_CFLAGS += -m64
15 -endif
16 -
17 -ifeq ($(PROC), powerpc)
18 -EXTRA_CFLAGS += -m64 -msoft-float
19 -LDFLAGS += -melf64ppc
20 -endif
21 -
22 -ifeq ($(PROC), x86_64)
23 -EXTRA_CFLAGS += -mcmodel=kernel
24 -endif
25 -
26  VERSION := $(word 1,$(VERSIONRELEASE))
27  RELEASE := $(word 2,$(VERSIONRELEASE))
28  ifeq ($(RELEASE),)
This page took 0.051425 seconds and 2 git commands to generate.