Summary:
We hijacked gflags/gflags.h to the folly/portability/GFlags.h to use DEFINE_xxx / DECLEAR_xxx provided by Folly. This approach does not work since https://github.com/facebook/folly/commit/4dadde1256f74e756510a499c86459967f78afb9, because Folly does not provide DEFINE_xxx / DECLEAR_xxx any more. Accordingly we patched fbthrift with without-gflags.patch to prevent it from linking gflags in favor of the hijacked gflags header.
This diff removes the without-gflags.patch so that fbthrift could decide whether linking to gflags via normal gflags detection logic.
Summary: We hijacked
gflags/gflags.h
to thefolly/portability/GFlags.h
to useDEFINE_xxx
/DECLEAR_xxx
provided by Folly. This approach does not work since https://github.com/facebook/folly/commit/4dadde1256f74e756510a499c86459967f78afb9, because Folly does not provideDEFINE_xxx
/DECLEAR_xxx
any more. Accordingly we patched fbthrift withwithout-gflags.patch
to prevent it from linking gflags in favor of the hijacked gflags header.This diff removes the
without-gflags.patch
so that fbthrift could decide whether linking to gflags via normal gflags detection logic.Differential Revision: D39298863