Skip to content

Commit 60affa5

Browse files
committed
Workspace: remove compile flags specific to Linux, UPower and UDisks.
1 parent f498739 commit 60affa5

3 files changed

Lines changed: 1 addition & 19 deletions

File tree

Applications/Workspace/GNUmakefile.preamble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
# Additional flags to pass to the preprocessor
7-
ADDITIONAL_CPPFLAGS += -DWITH_UPOWER -DREVISION=\"$(REVISION)\" -DLINUX
7+
ADDITIONAL_CPPFLAGS += -DREVISION=\"$(REVISION)\"
88
ADDITIONAL_CPPFLAGS += -DAPP_ICON=\"$($(APP_NAME)_APPLICATION_ICON)\"
99

1010
# Additional flags to pass to Objective C compiler

Applications/Workspace/Tools/FileMover/GNUmakefile.preamble

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
# GNUmakefile.preamble
33
#
44

5-
ifeq ($(findstring gnu, $(GNUSTEP_TARGET_OS)), gnu)
6-
ADDITIONAL_OBJCFLAGS += -DLinux
7-
ADDITIONAL_CFLAGS += -DLinux
8-
endif
9-
105
ADDITIONAL_OBJCFLAGS += -W -Wall -Wno-import -Wno-unused -Wno-unused-parameter -O2 -pipe
116
ADDITIONAL_CFLAGS += -W -Wall
127
ADDITIONAL_LDFLAGS += -lSystemKit -lDesktopKit -lSoundKit -lgnustep-base -lgnustep-gui

Applications/Workspace/compile_flags.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,4 @@
4040
-I/usr/include/libpng16
4141
-I/usr/include/harfbuzz
4242
-I/usr/include/libxml2
43-
-DWITH_UPOWER
44-
-I/usr/include/libupower-glib
45-
-I/usr/include/glib-2.0
46-
-I/usr/lib64/glib-2.0/include
47-
-I/usr/include/sysprof-4
48-
-I/usr/include/libmount
49-
-I/usr/include/blkid
50-
-DLINUX
51-
-DWITH_UDISKS
52-
-I/usr/include/udisks2
53-
-I/usr/include/dbus-1.0
54-
-I/usr/lib64/dbus-1.0/include
55-
-I/usr/include/gio-unix-2.0
5643
-F/usr/NextSpace/Frameworks

0 commit comments

Comments
 (0)