]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Use PICFLAG instead of hard coding -fPIC.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 25 Feb 2022 02:23:04 +0000 (13:23 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 25 Feb 2022 02:23:04 +0000 (13:23 +1100)
Makefile.in

index 065bf91e3fcc8b7d839ea5cc9ef309a21b638368..a9b802b7de765571c76af0ad7f8d46ec0a98dfe2 100644 (file)
@@ -688,7 +688,7 @@ SK_DUMMY_LIBRARY=@SK_DUMMY_LIBRARY@
        $(CC) $(CFLAGS_NOPIE) $(PICFLAG) $(CPPFLAGS) -c $< -o $@
 
 regress/misc/sk-dummy/sk-dummy.so: $(SK_DUMMY_OBJS)
-       $(CC) $(CFLAGS) $(CPPFLAGS) -fPIC -shared -o $@ $(SK_DUMMY_OBJS) \
+       $(CC) $(CFLAGS) $(CPPFLAGS) $(PICFLAG) -shared -o $@ $(SK_DUMMY_OBJS) \
            -L. -Lopenbsd-compat -lopenbsd-compat $(LDFLAGS_NOPIE) $(LIBS)
 
 regress-binaries: regress-prep $(LIBCOMPAT) \