Loading
gcc: disable enableDefaultPie when !hasSharedLibraries
In discussion on #439314 conditionalizing this seemed unnecessary as pkgsStatic's gcc kept working. However, some less typical !hasSharedLibraries stdenvs for embedded platforms broke. It seems simplest to make this conditional on hasSharedLibraries for now. We may need to revisit this if we want to enable static-pie by default with gcc spec file changes.