linux: more knowledge about stripping and non-PIE binaries
authorThomas Debesse <dev@illwieckz.net>
Mon, 8 Mar 2021 16:05:28 +0000 (17:05 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 8 Mar 2021 16:05:28 +0000 (17:05 +0100)
easy-builder

index 9fe738b677ba4120551d6d2ba949cc45dbbef59d..d9f7336a64630b19c90d7037cc055f31af991de2 100755 (executable)
@@ -17,10 +17,15 @@ build_type='Release'
 case "$(uname -s)" in
        # Stripping is known to make non-PIE Linux netradiant binary unusable.
        # Maybe that's related to the way we patch rpath?
+       #
        # Building NetRadiant as non-PIE is required because of
        # a mistake in the mimetype-library that prevents users
        # to run the application from file managers on Linux.
+       #
        # See: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11
+       #
+       # After installation it's possible to strip manually all binaries except
+       # the netradiant one.
        'Linux')
                install_target='install'
                ;;