From b0e8fac705747e6da8d6f30d40759850ac8e904a Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sat, 14 Sep 2019 14:31:04 -0700 Subject: [PATCH] Added gio-unix-2.0 to pkg-config to fix NixOS building --- Debug/modes/subdir.mk | 2 +- Debug/proto/subdir.mk | 2 +- Debug/src/subdir.mk | 2 +- Release/modes/subdir.mk | 2 +- Release/proto/subdir.mk | 2 +- Release/src/subdir.mk | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Debug/modes/subdir.mk b/Debug/modes/subdir.mk index 85ceb34..bfe0e75 100644 --- a/Debug/modes/subdir.mk +++ b/Debug/modes/subdir.mk @@ -23,7 +23,7 @@ C_DEPS += \ modes/%.o: ../modes/%.c @echo 'Building file: $<' @echo 'Invoking: GCC C Compiler' - gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0 gio-unix-2.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Debug/proto/subdir.mk b/Debug/proto/subdir.mk index 4c1177f..81afe29 100644 --- a/Debug/proto/subdir.mk +++ b/Debug/proto/subdir.mk @@ -20,7 +20,7 @@ C_DEPS += \ proto/%.o: ../proto/%.c @echo 'Building file: $<' @echo 'Invoking: GCC C Compiler' - gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0 gio-unix-2.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Debug/src/subdir.mk b/Debug/src/subdir.mk index da59fb6..20a1f06 100644 --- a/Debug/src/subdir.mk +++ b/Debug/src/subdir.mk @@ -32,7 +32,7 @@ C_DEPS += \ src/%.o: ../src/%.c @echo 'Building file: $<' @echo 'Invoking: GCC C Compiler' - gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0 gio-unix-2.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/modes/subdir.mk b/Release/modes/subdir.mk index a1cbd59..0d72246 100644 --- a/Release/modes/subdir.mk +++ b/Release/modes/subdir.mk @@ -23,7 +23,7 @@ C_DEPS += \ modes/%.o: ../modes/%.c @echo 'Building file: $<' @echo 'Invoking: GCC C Compiler' - gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0 gio-unix-2.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/proto/subdir.mk b/Release/proto/subdir.mk index 117f385..2d3277d 100644 --- a/Release/proto/subdir.mk +++ b/Release/proto/subdir.mk @@ -20,7 +20,7 @@ C_DEPS += \ proto/%.o: ../proto/%.c @echo 'Building file: $<' @echo 'Invoking: GCC C Compiler' - gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0 gio-unix-2.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/subdir.mk b/Release/src/subdir.mk index 8ef99a5..70a6689 100644 --- a/Release/src/subdir.mk +++ b/Release/src/subdir.mk @@ -32,7 +32,7 @@ C_DEPS += \ src/%.o: ../src/%.c @echo 'Building file: $<' @echo 'Invoking: GCC C Compiler' - gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0 gio-unix-2.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' '