diff options
author | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
---|---|---|
committer | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
commit | 71c20430bd06d80b663fb54d1df67598d804c219 (patch) | |
tree | 8ed9e8852b128c270f9197edf597532ac3fd8e11 /media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch | |
parent | 35875647a1f4db65a3a7a559479ef8e311acbac2 (diff) | |
parent | 975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff) |
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch')
-rw-r--r-- | media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch b/media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch new file mode 100644 index 00000000..95b11fb4 --- /dev/null +++ b/media-plugins/deadbeef-spectrogram/files/deadbeef-spectrogram-cflags.patch @@ -0,0 +1,19 @@ +diff --git a/Makefile b/Makefile +index 9c894c7..86bb61b 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,11 +43,13 @@ OBJ_GTK2?=$(patsubst %.c, $(GTK2_DIR)/%.o, $(SOURCES)) + OBJ_GTK3?=$(patsubst %.c, $(GTK3_DIR)/%.o, $(SOURCES)) + + define compile ++ echo $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + endef + + define link +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. |