forked from pool/sgpio
- Cleanup spec file with spec-cleaner - Do not strip installed binary - Refresh patches (no trailing whitespaces or offset when applying) * sgpio_0.10.patch * sgpio-make.patch * sgpio-cflags.diff OBS-URL: https://build.opensuse.org/request/show/382977 OBS-URL: https://build.opensuse.org/package/show/Base:System/sgpio?expand=0&rev=6
18 lines
363 B
Diff
18 lines
363 B
Diff
---
|
|
Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: Makefile
|
|
===================================================================
|
|
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -28,7 +28,7 @@ ALL = sgpio
|
|
all: $(ALL)
|
|
|
|
sgpio.o: sgpio.c
|
|
- gcc -g -Wall -c sgpio.c
|
|
+ cc $(CFLAGS) -g -Wall -c sgpio.c
|
|
|
|
sgpio: sgpio.o
|
|
gcc -g sgpio.o -o sgpio
|