diff --git a/fxload-cflags-ldflags.patch b/fxload-cflags-ldflags.patch deleted file mode 100644 index ce7e7ed..0000000 --- a/fxload-cflags-ldflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up fxload-2008_10_13/Makefile.cflags fxload-2008_10_13/Makefile ---- fxload-2008_10_13/Makefile.cflags 2008-10-13 17:44:04.000000000 -0400 -+++ fxload-2008_10_13/Makefile 2018-02-25 23:11:02.416103160 -0500 -@@ -39,7 +39,7 @@ release: rpms - - # object files - $(PROG): $(FILES_OBJ) -- $(CC) -o $(PROG) $(FILES_OBJ) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(FILES_OBJ) - - %.o: %.c - $(CC) -c $(CFLAGS) $< -o $@ diff --git a/fxload.spec b/fxload.spec index 483a26f..be8b321 100644 --- a/fxload.spec +++ b/fxload.spec @@ -15,7 +15,6 @@ Source0: fxload-%{version}-noa3load.tar.gz # ./fxload-generate-tarball.sh 2008_10_13 Source1: fxload-generate-tarball.sh Patch0: fxload-noa3load.patch -Patch1: fxload-cflags-ldflags.patch BuildRequires: gcc kernel-headers Requires: udev @@ -30,7 +29,6 @@ appears on the bus. %prep %setup -q %patch0 -p1 -b .fxload-noa3load -%patch1 -p1 -b .cflags %build make CC=%{__cc} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"